Вчём ошибка?

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 year > birth_year:
age = year - birth_year
else:
age = (year - birth_year) - 1

# step 4
a = age
b = abs(month - birth_month)
c = abs(day - birth_day)
print(f"your age: {a} years, {b} months, {c} days")

Remus1 Remus1    1   21.01.2020 22:21    16

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