When I use raw_input, the prompt only shows after the user gives input. Like this:
number = raw_input("Enter a number:")
but when I run this, nothing happens, the I type a number, the it shows the prompt:
123
Enter a number:
(123 used to be blank until I typed a number and hit enter)
I just want the prompt to display before the user input. If anybody knows how to fix this please help.
Thanks.