Похожие чаты

WTF? Why the else statement works even it’s out side

the for loop??😐

5 ответов

5 просмотров

because you don't know how the language works...

else is not in if block

if you literally google 'for-else python', you'll get this very detailed explanation of what you saw

Пользователь-61aa0 Автор вопроса

https://stackoverflow.com/questions/9979970/why-does-python-use-else-after-for-and-while-loops

In python when loop ends else works

Похожие вопросы

Обсуждают сегодня

Карта сайта