Sunday, January 12, 2020

new year resolutions

def make_resolutions():
    year = input("What is the year?")
    number_of_goal = int(input("How many goals do you want to set for this yea?"))

    goals = list()
    # goals = []
    for i in range(number_of_goal):
        goal = input("Please enter your goal: ")
        goals.append(goal)


    print("\nHere is the resolutions for year ", year)
    print("---------------------------")
    for goal in goals:
        print(goal)

make_resolutions()

No comments:

Post a Comment