Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- import datetime
- currenttime = datetime.datetime.now()
- currentyear = currenttime.year
- myname = raw_input("What's your name? ")
- myage = input("How old are you? ")
- myhundred = currentyear + 100 - myage
- howmany = input("How many copies? ")
- for i in range (0,howmany):
- <<<<<<< HEAD
- print(myname + " is " + str(myage) + " years old and will be 100 in " + str(myhundred) + ".")
- =======
- print(myname + " is " + str(myage) + " years old and will be 100 in " + str(myhundred) + ".")
- >>>>>>> d7408a466e6568c67af252df6f798a3434993ed5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement