Advertisement
HBSB

Python Programming Pi101 2.4

Nov 22nd, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. phrase = input("Talk to me. > ")
  2. if phrase=="what's your name?" :
  3.     print("I'm called Marvin.")
  4. phrase = input("I want to learn python for programming.  Will you help me? >" )
  5. if phrase == "I think you can help me more than I can help you!":
  6.     print("Whichever way round is good, thanks.")
  7. print("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement