0

what's wrong with my code? failed in Test case 3 and 5 please i need help

https://code.sololearn.com/csymmlN52VXE/?ref=app

26th Apr 2020, 8:38 AM
John Denver
John Denver - avatar
5 odpowiedzi
+ 2
Use math.ceil() instead of round(), and also check the input for punctuations and remove them
26th Apr 2020, 8:57 AM
Justus
Justus - avatar
+ 2
It's because the input still has punctuations
26th Apr 2020, 10:00 AM
Justus
Justus - avatar
+ 2
The challenge says to delete those punctuations
26th Apr 2020, 10:01 AM
Justus
Justus - avatar
+ 1
Try using math.ceil() instead of round () import math before using ceil.
26th Apr 2020, 8:50 AM
Utkarsh Sharma
Utkarsh Sharma - avatar
+ 1
I tried using ceil and it worked in all cases except test case 1
26th Apr 2020, 8:57 AM
John Denver
John Denver - avatar