Integer | Sololearn: Learn to code for FREE!



I dont understand how integer represents a whole number value

8/22/2020 12:23:34 PM

Abdullah Al Asad

4 Answers

New Answer


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.


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


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