Advertisement
Guest User

First program.

a guest
Mar 30th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # Favorite Foods
  2. # Demonstrates the joining of two variables.
  3.  
  4. print \
  5. """
  6. Please enter your two favorite dishes and we will give you a
  7. wonderful new dish to try.
  8. """
  9. dish1 = raw_input("Favorite Dish One: ")
  10. dish2 = raw_input("Favorite Dish Two: ")
  11.  
  12. total = dish1 + dish2
  13.  
  14. print "\nAmazing new dish is: ", total
  15.  
  16. raw_input("\n\nPress the enter key to exit.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement