+ 1
Getting a nearest whole no. in python
if input is a no. how can I get an output of its nearest whole no.
1 Respuesta
+ 2
With the function round. You just have to convert the input to a float, then round it.
if input is a no. how can I get an output of its nearest whole no.