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)
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
Use apostrophe "enter a number" The one you have used is not valid one.
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()