fork(2) download
  1. answer = raw_input("Do you like python?")
  2. if answer == "yes":
  3. print "That is great"
  4. elif answer == "no":
  5. print "that is disappointing"
  6. else:
  7. print "that is not the answer to my question"
Success #stdin #stdout 0.03s 6360KB
stdin
yes
stdout
Do you like python?That is great