Need help get a user to in put his or her favortie food the the program should
the n print oue the name of the new food by joining the original food names
together
code:
favortie_food= raw_input("What is your favortie food?")
What is your favortie food? hot dog
>>> print favortie_food
hot dog
>>> favortie_food= raw_input("What is your favortie food?")
What is your favortie food? pizza
>>> print favortie_food.replace("hot dog", "pizza)
SyntaxError: EOL while scanning single-quoted string
>>> print favortie_food.replace("hot dog", "pizza")
pizza
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. _______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor