Can anyone help me with this code 🙏🏻!?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 8
1st Apr 2024, 10:33 AM
~Miyamura
8 ответов
+ 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
~Miyamura
+ 2
Still three cases are failed and the problem is that the test cases are locked
1st Apr 2024, 11:23 AM
~Miyamura
+ 2
Ohh okk , i'll try , thanks for the help
1st Apr 2024, 1:24 PM
~Miyamura
+ 2
You're welcome :)
1st Apr 2024, 1:28 PM
Gordie
Gordie - avatar
+ 1
Heyyy , thanks
1st Apr 2024, 1:29 PM
~Miyamura
+ 1
It worked !! Thanks alot 😁
1st Apr 2024, 1:29 PM
~Miyamura