6 ответов
+ 5
https://code.sololearn.com/cKN5Rdk3CQqv/?ref=app
Khalid Shifullah is this what u mean?
+ 2
Netha_r2071 Thanks a lot bro. This is exactly what i ment.
+ 1
Khalid Shifullah see the same code using round () function
https://code.sololearn.com/cKN5Rdk3CQqv/?ref=app
+ 1
Netha_r2071 thanks again😍 . dude you are too good
+ 1
Use int() function 👍👍
0
Netha_r2071 bro what if i want the output to be rounded. Like if it is 7.8 i want 8. How i do it . import math?