fork download
  1. print ("Enter your name")
  2. x = input() #as mentioned in tutorials, raw_input changed to input in Python3
  3. y = input() #age>>> will be printed before input
  4. print ("Your name is",x,"and","and your age is",y)
Success #stdin #stdout 0.04s 9364KB
stdin
XYZ
20
stdout
Enter your name
Your name is XYZ and and your age is 20