How can you get two inputs for variables in a code?
Dear community, I just began programming and wanted to code a simple mathematical task. I want to use two inputs for the calculation, but my code can't do that. I also have some other mistakes in my code, feel free to tell me about them, and how you would change it. Thank you very much. My code: print("Choose two numbers for a multiplication, sothat the prudact equals 20") x=int(input("number one: ") y=int(input("numver two: ") if x*y == 20: print ("Correct") else: print("this is the first number you chose: ") print(x) y = int(input("Please choose a second number, sothat the product equals 20: ")) if x*y == 20: print ("Correct") else: print ("Unfortunately your answer was incorrect, this is the right choice for number two") print (20/x)