This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Create a program that asks the user to enter their name and their age. Print out a message addressed to them that tells them the year that they will turn 100 years old. | |
#Extras: | |
#Add on to the previous program by asking the user for another number and printing out that many copies of the previous message. (Hint: order of operations exists in Python) | |
#Print out that many copies of the previous message on separate lines. (Hint: the string "\n is the same as pressing the ENTER button) | |
#first import 'datetime' to discover the current year | |
import datetime | |
def reaching_hundred(): | |
#we will took the name from user |