Skip to content

Create home_work_lesson1.py#2

Open
gsysme wants to merge 1 commit intomainfrom
lesson1_homework
Open

Create home_work_lesson1.py#2
gsysme wants to merge 1 commit intomainfrom
lesson1_homework

Conversation

@gsysme
Copy link
Copy Markdown
Owner

@gsysme gsysme commented Jun 19, 2022

Первое домашнее задание

Первое домашнее задание
username = input("Укажите имя:")
age = int(input("Укажите возраст:"))
print("{} отмечает сегодня день рожления, ему {}".format(username, age))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

лучше через ф-строку

print("{}:{}:{}".format(hour_value, min, sec_value))
sec = int(input("Укажите количество секунд:"))
conversion(sec)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

выполнено

nnn = temp + temp + temp
comp = n + int(nn) + int(nnn)
print("Результат равен:", comp)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

выполнено

m = a % 10
a = a // 10
print("Наибольшое число:{}".format(m))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

выполнено

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

нет задач 5-7

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