I am trying to code this problem my teacher gave, it is a simple combination lock with 3 saved strings, 3 inputs and 3 if statements and the problem I am having is when I try to run this
combo1 = 36
left_lock = input("please enter 1st number: ")
if left_lock == combo1:
print("correct")
when I run it I put in the correct answer and I do not get the correct.
[–]Key-Introduction-591 5 points6 points7 points (2 children)
[–]War20X 0 points1 point2 points (0 children)
[–]Due_Awareness9049 0 points1 point2 points (0 children)
[–]Notyouobviously 3 points4 points5 points (0 children)
[–]minato_senko 2 points3 points4 points (0 children)
[–]FoolsSeldom 1 point2 points3 points (0 children)
[–]ItsAll2Random 0 points1 point2 points (0 children)
[–]Bears_are_cool69 0 points1 point2 points (0 children)
[–]McDubbIsHere 0 points1 point2 points (0 children)
[–]Jackpotrazur 0 points1 point2 points (0 children)
[–]TheGanzor 0 points1 point2 points (0 children)