Question: I need help making this program. I'm having trouble on how to correctly calculate the year and month for the full retirement age.Here is an
I need help making this program. I'm having trouble on how to correctly calculate the year and month for the full retirement age.Here is an example of the output:Enter year of birth or to exit: 1954Enter the month of birth: 9Your full retirement age is 66 and 0 monthsthis will be in September of 2020Enter the year of birth or to exit (user presses the Enter Key)Process finished with exit code 0Here is a picture of my code

Edit View Navigate Code Help Lesson01 - FullRetirementAge.py mygrade.py FullRetirementAge.py X import datetime CurrentAge = 0 print ("Social Security Full Retirement Age Calculator") Year = int(input("Enter the year of birth or to exit press enter key:")) Month = int(input("Enter the month of birth:")) Day = int(input("Enter the day of birth:") ) DOB = datetime . datetime (Year, Month, Day) Age = (datetime . datetime . now() - DOB) days = int(Age . days) CurrentAge += int(days/365) now = datetime . datetime . now( ) print (now . strftime ('sB' )) if Year ==1900 or Year 1960: print ("Your full retirement age is 67 and 0 months") elif Year = = 1955 5: Problems TODO Terminal Python Console Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
