+ 1

I wrote this code and idk what's the fault in the Last 2 cases Help pls

https://www.sololearn.com/coach/73?ref=app

27th Jan 2020, 7:47 PM
إسلام دخيلي
إسلام دخيلي - avatar
7 ответов
+ 7
1. str(input()) is useless, because input() by default returns a string 2. Try math.ceil() instead of round()
27th Jan 2020, 7:52 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 6
Where is your code ?
27th Jan 2020, 7:48 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 4
Use math.ceil() instead of round() https://www.sololearn.com/coach/73?ref=app
17th Feb 2020, 12:17 AM
Indira
Indira - avatar
+ 3
سافرت يخدم صوبي termux wsoby python3.8 احسن انتربتر تخدم
27th Jan 2020, 8:07 PM
Juddi
Juddi - avatar
+ 2
Thnk u so much ☺️☺️
27th Jan 2020, 8:06 PM
إسلام دخيلي
إسلام دخيلي - avatar
+ 2
Idk tw nchuuuf aslan kn 3ndi termux w fih python 3 w nhituu
27th Jan 2020, 8:09 PM
إسلام دخيلي
إسلام دخيلي - avatar
+ 1
X=1 U=0 k=str(input()) for i in k: U+=1 if i==' ': U-=1 X+=1 print (round(U/X))
27th Jan 2020, 7:49 PM
إسلام دخيلي
إسلام دخيلي - avatar