0
How to float result?
As mentioned in the app, 8/2=4.0 But i get 4..! Why is it??
2 Réponses
0
If you want an integer division, use // instead of /.
/ is now a float division in Python 3.
- 1
3.x
As mentioned in the app, 8/2=4.0 But i get 4..! Why is it??