- 1
EOF error
Why my code is showing an error here? x=int(input(âenter a numberâ) y=int(input(âenter another oneâ) p=x*y print(p)
3 Answers
+ 4
You need to input two values since there are two input variables. If you're trying this on Sololearn, separate them in a new line.
6
7
+ 2
Use apostrophe "enter a number"
The one you have used is not valid one.
0
And I think you did not close int()
x = int(input("enter a number"))
y = int(input("enter another one")) <- the first one closes intput(), the second one closes int()