Integer | Sololearn: Learn to code for FREE!

0

Integer

I dont understand how integer represents a whole number value

8/22/2020 12:23:34 PM

Abdullah Al Asad

4 Answers

New Answer

+3

Can you please explain what exactly is not clear? int is a datatype that store a certain value. E.g 6 is an int 6.0 is a double 6.0f is a float. In python there is no distinction between float and double. It has only doubles.

+2

~ swim ~, thanks bro for short but the main answer.

+2

Martin Taylor, thanks bro for the further information about function int