lmayo

exercise2.2.py

Dec 28th, 2011
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # Author: Landon Mayo
  3. # Exercise 2.2
  4. # Write a program to prompt the user for their name and then welcomes them
  5.  
  6. # prompt user for their name
  7. getName=raw_input("Enter Your're Name: ")
  8.  
  9. # Welcome the user by adding the string 'Hello' to
  10. # the raw_input defined in getName variable
  11. print"Hello " + getName
Advertisement
Add Comment
Please, Sign In to add comment