Line no 22 | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
25th Jul 2021, 8:46 AM
Vibhor Kumar
2 ответов
+ 5
BLACK GAMING You can't use break outside the loop. Your code is not properly indented. Please first indent your code properly. Otherwise you will face problem again and again. Without proper indentation of code may create many confusion. This is the example of proper indented code: for char in word: if char in guess: print(char) else: print("-") failed += 1
25th Jul 2021, 8:54 AM
A͢J
A͢J - avatar
+ 2
You will need to read about python "Identation".
25th Jul 2021, 8:56 AM
Rohit