Randy Gordon
Randy Gordon

Reputation: 3

Python input function in Eclipse not accepting input from console

I am just learning Python and am using Eclipse version 4.15.0. I have entered the following code:

i=int(input("Enter an integer number:"))
print(i)

When I run it, "Enter an integer number:" appears in the console, but when I enter "123" in the console, and rerun, 123 does not print in the console. I have tried this a number of times but no input appears. I have also tried it with strings, but again my input will not print.

Upvotes: 0

Views: 269

Answers (1)

Harshal Parekh
Harshal Parekh

Reputation: 6017

You don’t need to rerun.

Just press the Enter key.

Upvotes: 1

Related Questions