✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Millal käivitub for-else tsüklis else osa?
numbers = "82123689"
for x in numbers:
if int(x) % 2 == 0:
print("there is an even number!")
break
else:
print("there are no odd numbers")