+ 1
What will be the answer of print (20//6.0) and what is the Intermediate steps..?
3 ответов
+ 1
20/6.0 = 3.0 with remainder 2
so answer is 3.0
+ 1
True if 6 is integer.
20/6 = 3.333333...
20//6 = 3
20//6.0 = 3.0
0
but I read somewhere that // removes the float.