Есть вопросы?

Здесь Вы можете найти ответы на многие вопросы или задать свой вопрос!

Step 1
start import datetime
# step 2
birth day = int(input("day of birth: "))
birth month = int(input("month of birth: "))
birth year = int(input("year of birth: "))
day = int(datetime. date.)
month = int(datetime. date.)
year = int(datetime. date.)
# step 3
if * > :
age = year - birth_year
then:
age = (year - birth_year) - 1
# step 4
a = age
b = abs(month - birth_month)
c = abs(day - birth_day)
print("your age: {a} years, {b} months, {c} days")

найти и исправить ошибку пожлуйста))

Другие вопросы по: Информатика

Знаешь правильный ответ?
Step 1 start import datetime # step 2 birth day = int(input("day of birth: ")) birth month = int(in...

Популярные вопросы