Python by Swaroop C H - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Numbers

Numbers in Python are of four types - integers, long integers, floating point and complex numbers.

• Examples of integers are2 which are just whole numbers.
• Long integers are just bigger whole numbers.

• Examples of floating point numbers (or floats for short) are3.23 and52.3E-4. TheE notation indicates powers of 10. In this case,52.3E-4 means52.3 * 10-4.

 

• Examples of complex numbers are(-5+4j) and(2.3 - 4.6j)

Find Your Next Great Read

Describe what you're looking for in as much detail as you'd like.
Our AI reads your request and finds the best matching books for you.

Showing results for ""

Popular searches:

Romance Mystery & Thriller Self-Help Sci-Fi Business