Skip to content

Выполнена домашняя работа#411

Open
Nomad1899 wants to merge 2 commits into
GeekBrainsTutorial:masterfrom
Nomad1899:master
Open

Выполнена домашняя работа#411
Nomad1899 wants to merge 2 commits into
GeekBrainsTutorial:masterfrom
Nomad1899:master

Conversation

@Nomad1899

Copy link
Copy Markdown

No description provided.

Comment thread lesson01/home_work/hw01_easy.py Outdated
# код пишем тут...

while True:
try:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в данном задании имелось в виду использование while только для прохода по значению числа, делать бесконечный было не обязательно

Comment thread lesson01/home_work/hw01_easy.py Outdated
age=int(input("Введите ваш возраст:"))
except:
print("Что то пошле не так. Попробуйте еще раз. Вводите возраст цифрами.")
continue

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в данных типах циклов использование структуры try-except не совсем подходит, пока это лучше опустить или разместить функционал внутри блока try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants