I want the user to put two numbers and put the answer and the software to print correct if he had the right answer but it keeps printing wrong
x = input("num1: ")
y = input("num2: ")
z = input ("num1 + num2: ")
results = float(x) + float(y)
if z == results:
print("correct")
else :
print("wrong")