Facing difficulty in writing the above example shown in the course manual. As I am writing Print (“Enter your name”) to come to the next line it is just typing “Enter your name”. But I want to write the next part of the programe i.e x= raw_input()…………………… I just copied and pasted in Python window and press enter, then also it is showing “Enter your name” and if i am giving any name and pressing enter it is showing error Please help.
print "Enter your name"
x = raw_input()
y = raw_input("age >>>") #age>>> will be printed before input
print "Your name is",x,"and","and your age is",y,
You can see its working here:
Python2 – https://ideone.com/dcbkgY
Python3 – https://ideone.com/UC3aqW