+ 1

question

why .0 needed?

5th Jan 2017, 9:50 AM
Amandeep Bains
Amandeep Bains - avatar
2 Respuestas
+ 1
how make dir with module
5th Jan 2017, 9:53 AM
mohsen sh
mohsen sh - avatar
+ 1
4 is a integer 4.0 is float.. for python both are different. (in Python 2.7) ex. 4.0/8 gives output 0.5 which is again a float but 4/8 will give output 0...since operations on integers can only give output integer as output
5th Jan 2017, 11:35 AM
Sharique Ansari
Sharique Ansari - avatar