# input.py # Written by Dave Musicant # This program demonstrates how to accept input from the user. name = input('What is your name? ') ageString = input('How old are you? ') age = int(ageString) print('Hi,', name, '.') print('Hi again ' + name + '.') print('The square of your age is', age * age) # What is happening in the next line? print('Backslashes are useful \n in \\many\\ \"\'ways\'\".')