Python Numbers

Python Support three types of Numbers, which is as per given –

  • Int

  • Float

  • complex

 

How to define python Numbers

In python, we can define numbers using variables as per given below examples

>>> a = 5               #int

>>> b = 2.5            #(float)

>>> c =  1 + 2i       #(complex)

Thanks for reading this, if you have any doubt please do the comments so we can make changes if anything is missing.

In the next tutorial, we will learn about “python strings

Contact Us

Tel: (+91) 0120  4118730  

Time :   10 : 00  AM -  08 : 00 PM IST 

Registered address: G-69, Sector 63, 

 Noida - 201301, India

We Provide Services Across The different countries

USA    Australia   Canada   UK    UAE    Singapore   New Zealand    Malasia   India   Ireland   Germany

CodersArts is a Product by Sofstack Technology Solutions Pvt. Ltd.

  • CodersArts | Linkedin
  • Instagram