+ 1
What is wrong with this code: https://code.sololearn.com/cYPiq7dNjmNP/?ref=app
Please answer
3 Antworten
+ 1
"""
https://code.sololearn.com/cYPiq7dNjmNP/?ref=app
Here in this code, why do you added spaces before for loop start.
Python uses space to add Identation to form blocks in code..
So unnecessary space and wrong spacing will give you identation error...
corrected code is :
"""
jojo="youcex"
for index in range(len(jojo)):
print(index)
+ 2
Add code link in description place, not in question title. Also mention some about your error details.
0
The correct code: for index in range(len(jojo)):