fork download
  1. import sys
  2.  
  3. y = 1
  4.  
  5. def test():
  6. print("Hello?")
  7. x = sys.stdin.readline()
  8.  
  9. if x == "hello\n":
  10. print("Ah your back")
  11. else:
  12. print("Huh?")
  13.  
  14. test()
Success #stdin #stdout 0.06s 9568KB
stdin
hello
stdout
Hello?
Ah your back