fork download
  1. print("Read the first line from stdin", input())
  2. answer = input("Did you like that? (Yes/No): ") # read 2nd line
  3. if answer == "Yes":
  4. print("You liked it!")
Success #stdin #stdout 0.09s 10088KB
stdin
first line
Yes
stdout
Read the first line from stdin first line
Did you like that? (Yes/No): You liked it!