x = raw_input("Enter your name : ")
print "Hello " + x
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Enter your name : Sloba
Hello Sloba
>>>
x = raw_input("Enter your name : ")
print "Hello " + x
raw_input(" Hit <enter> to Exit ")
Enter your name : Sloba
Hello Sloba
Hit <enter> to Exit
Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.
Comments (3)
Commented:
"Here I am using Python IDEL(GUI) to write a simple program and save it, so that we can just execute it in future."
Isn't it called Python IDLE?
-P0j0
Author
Commented:Regards,
Sloba
Commented: