0
3/4 is given 0 in my case
4 odpowiedzi
+ 3
It is because 4 fits 0 times in 3. Next time post your code.
you should use float variables to get float answer: 3.0 / 4.0
+ 1
int / int gives an integer output not a float
+ 1
Everyone saying it's normal: you are using Python2, trying using Python3 instead
0
It is because of the two value type are integer