0

Why it's fail ???

I'm trying to solve the coach problems This code fails 2 out of 5 but.how ??? How to Roundup 5.20 as 6 & the nearest realno. Is 5😨 https://code.sololearn.com/cWmghA7yQMr4/?ref=app

18th Jun 2020, 7:18 AM
Suren🇮🇳
Suren🇮🇳 - avatar
5 odpowiedzi
+ 2
The "math" module has a "ceil" function that rounds up a given number. https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2438/
18th Jun 2020, 7:30 AM
Kevin ★
+ 1
https://code.sololearn.com/c0Zomb3HPzNx/?ref=app
3rd Jul 2020, 9:42 AM
Mounya Sri
Mounya Sri - avatar
0
You can use ceil() function
3rd Jul 2020, 9:31 AM
Mounya Sri
Mounya Sri - avatar
0
Mounya Sri I don't know how to use that.... Help me with a sample code
3rd Jul 2020, 9:40 AM
Suren🇮🇳
Suren🇮🇳 - avatar
0
Mounya Sri Thank u🤗
3rd Jul 2020, 9:56 AM
Suren🇮🇳
Suren🇮🇳 - avatar