Skip to main content

Python Numbers


In this tutorial you will learn:

  • Numbers in Python
  • Integers
  • Floating point numbers
  • Complex numbers

Numbers in Python

In the previous tutorial we learned what are String data types are, how they can be declared and accessed. In this tutorial we will learn the usage of different number types in Python.
myNum = 24 In Python there are different number types and the most important once are Float, Int and Complex numbers.

Floating point number

A number which is either negative or positive and contains a fraction which is shown by a decimal point is known as a floating

Add new comment