I am not really a programmer. I am currently learning python on windows, but I have a small problem using the GUI interpreter. When I run a program such as this:
a = input("What is your name? "
print "Your name is",a
I am unable to initialize the variable with a string. I type something, press [ENTER] and it just goes on to a new line, like a normal text editor type thing would do. It does not print the second line on the screen. I am also unsure how to open files in the DOS interpreter, so I have been unable to try it there.
Knowing me, it is probably something completely obvious that I have overlooked. If you help me out here, I will be very happy!
a = input("What is your name? "
print "Your name is",a
I am unable to initialize the variable with a string. I type something, press [ENTER] and it just goes on to a new line, like a normal text editor type thing would do. It does not print the second line on the screen. I am also unsure how to open files in the DOS interpreter, so I have been unable to try it there.
Knowing me, it is probably something completely obvious that I have overlooked. If you help me out here, I will be very happy!