Can anyone help me with this code 🙏🏻!?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8
1st Apr 2024, 10:33 AM
Mahi
Mahi - avatar
8 Answers
+ 5
round() rounds to the nearest integer. That is not necessarily rounding UP. You need to use the ceil() function in the math library.
1st Apr 2024, 11:35 AM
Gordie
Gordie - avatar
+ 3
You need to round UP to the nearest integer.
1st Apr 2024, 11:12 AM
Gordie
Gordie - avatar
+ 2
I did with the built-in func -> round()
1st Apr 2024, 11:22 AM
Mahi
Mahi - avatar
+ 2
Still three cases are failed and the problem is that the test cases are locked
1st Apr 2024, 11:23 AM
Mahi
Mahi - avatar
+ 2
Ohh okk , i'll try , thanks for the help
1st Apr 2024, 1:24 PM
Mahi
Mahi - avatar
+ 2
You're welcome :)
1st Apr 2024, 1:28 PM
Gordie
Gordie - avatar
+ 1
Heyyy , thanks
1st Apr 2024, 1:29 PM
Mahi
Mahi - avatar
+ 1
It worked !! Thanks alot 😁
1st Apr 2024, 1:29 PM
Mahi
Mahi - avatar