+ 1
What's the differences in / and //
when I accept a challenge with a problem
2 ответов
+ 6
Take a look here for a deeper dig:
https://www.sololearn.com/discuss/285593/?ref=app
https://www.sololearn.com/discuss/270933/?ref=app
https://www.sololearn.com/discuss/265045/?ref=app
+ 2
the / result is float type. But the // result is int, ignore dot