+ 1
I wrote this code and idk what's the fault in the Last 2 cases Help pls
7 odpowiedzi
+ 7
1. str(input()) is useless, because input() by default returns a string
2. Try math.ceil() instead of round()
+ 6
Where is your code ?
+ 4
Use math.ceil() instead of round()
https://www.sololearn.com/coach/73?ref=app
+ 3
سافرت يخدم صوبي termux wsoby python3.8 احسن انتربتر تخدم
+ 2
Thnk u so much ☺️☺️
+ 2
Idk tw nchuuuf aslan kn 3ndi termux w fih python 3 w nhituu
+ 1
X=1
U=0
k=str(input())
for i in k:
U+=1
if i==' ':
U-=1
X+=1
print (round(U/X))