I'm making a simple addition game that generates random numbers to add but when the answer is input it says incorrect even when it is clearly correct. Edit: Thanks for helping. It's fixed now
import random
while True:
    print ("Wellcome!")
    level = input("Choose a level from 1 to 2 or type quit")
    if level == "1":
        a = random.randint (1, 10)
        b = random.randint (1, 10)
        answer = input(str(a) + " + " + str(b) + " = ")
        if answer == a + b:
            print ("Good Job!")
        else:
            print ("Incorrect")
    if level == "2":
        a = random.randint (5, 20)
        b = random.randint (5, 20)
        answer = input(str(a) + " + " + str(b) + " = ")
        if answer == a + b:
            print ("Good Job!")
        else:
            print ("Incorrect")
    if level == "quit":
        break
 
     
    