Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Unexpected indent - indents are wrong, in Python in nested constructions, incl. in cycles, each line with a new command must begin with acc. indented. Each nesting level is an additional indent.
print ('a') //основная часть программы - нет отступа
for x in range (1,10): // основная часть программы - нет отступа
print ('b') // вложенная конструкция - отступ
print ('c') // вложенная конструкция - отступ
for j in range (1,5): // вложенная конструкция - отступ
print ('e') // конструкция, вложенная во вложенную конструкцию - два отступа
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question