Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this program should say hello and ask for your name.
- print('Hello world!')
- print('What is your name?') #ask for their name
- myName = input()
- print('It is good to meet you, + myName')
- print('The length of your name is:')
- print('What is your age?') #ask for their age
- myAge = input ()
- print('You will be ' + str(int(myAge) +1) + ' in a year.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement