+ 3

Why (5+7)/2=6.0 not 6.

Pyton

3rd Sep 2020, 11:57 AM
Abdurrahman Sulaiman Usman
Abdurrahman Sulaiman Usman - avatar
3 Respuestas
+ 1
'//' operator for an integer result
3rd Sep 2020, 4:43 PM
Kiwwi#
Kiwwi# - avatar
+ 5
Using division( / ) operator will produce float number. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2271/
3rd Sep 2020, 11:59 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Take 'h' bro, it seems you dropped it
3rd Sep 2020, 12:15 PM
Soulburn
Soulburn - avatar