shouldn't this code theoretically work, i am new to python coding and i am having a hard time working with this, I'm just doing some practices to get the hang of it. update thank you, i didnt pay attention, im going to leave it like this so if someone else missed a typo like that, they can see they were not the only one.
answer = input()
if answer = 6:
print("you are correct")
else:
print("try again")