+ 1
How can i Output the nearst whole number in Python
4 Antworten
+ 7
You need to use ceil() function from math module
+ 7
Ammar Alshawafi ,
since the task description is saying:
Output Format
A percentage value rounded up to the nearest whole number.
^^^^^^^^^^^^
we should use ceil() function from math module
+ 2
https://www.sololearn.com/Discuss/3197454/?ref=app
You ask same question here also, if you have doubt then ask only once at a time don't repeat it.