+ 1
Not gettting the desired output
I can't seem to get the desired output. itrct = 0 plaplant = 0 plbplant = 0 marketcheck = 0 plot = 0 itrct = str(input("<p> ")) if itrct == 1: plaplant == 1 str(plot) == "A" marketcheck == 1 elif itrct == 2: plbplant == 1 str(plot) == "B" marketcheck == 2 else: print("You have not completed the tutorial. Please restart the game for it to run correctly.") quit print(marketcheck) If the input is 1, the output should be 1, and if it is 2, the output should be 2. Please Help
1 Answer
+ 2
If itrct is a string, it cant be 1 but "1"
same for 2.