Abstract
In this chapter we will explore the different ways that numbers can be represented by thebuilt-in types in Python. We will also introduce the Boolean type used to representTrue andFalse. As part of this discussion we will also look at both numeric and assignment operators in Python. We will conclude by introducing the special value known asNone.
This is a preview of subscription content,log in via an institution to check access.
Access this chapter
Subscribe and save
- Get 10 units per month
- Download Article/Chapter or eBook
- 1 Unit = 1 Article or 1 Chapter
- Cancel anytime
Buy Now
- Chapter
- JPY 3498
- Price includes VAT (Japan)
- eBook
- JPY 5147
- Price includes VAT (Japan)
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Midmarsh Technology Ltd, Chippenham, Wiltshire, UK
John Hunt
- John Hunt
Search author on:PubMed Google Scholar
Corresponding author
Correspondence toJohn Hunt.
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Hunt, J. (2019). Numbers, Booleans and None. In: A Beginners Guide to Python 3 Programming. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-20290-3_5
Download citation
Published:
Publisher Name:Springer, Cham
Print ISBN:978-3-030-20289-7
Online ISBN:978-3-030-20290-3
eBook Packages:Computer ScienceComputer Science (R0)
Share this chapter
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative