# Calculating a person's age #Enter information about today's date c_year = int(input("What is the current year (yyyy)? ")) c_month = int(input("What is the current month (mm)? ")) c_day = int(input("What is the current day (dd)? ")) print() #Enter information about the birth date b_year = int(input("What is the birth year (yyyy)? ")) b_month = int(input("What is the birth month (mm)? ")) b_day = int(input("What is the birth day (dd)? ")) #Decision Making steps if b_month < c_month: age=c_year - b_year elif (b_month == c_month) & (b_day <= c_day): age=c_year - b_year else: age=(c_year - b_year)-1 print("Your age is ", age)