0
What is the difference between 32 and 32.0 when they outbuts
2 ответов
+ 3
32 is of type int, whole number, 32.0 is of type float, number with decimal points.
+ 1
When they outbuts?
32 is an integer
32.0 is a float
32.0 could also be a double or decimal in other languages.
python doesnt have these data types they do have floats and integers.
https://realpython.com/python-data-types/
So the difference would be the datatype