Code gives no output, can someone help?
import random tw=input() way1=["Left", "Right"] way2=["Left", "Right"] way3=["Left", "Right"] random.shuffle(way1) random.shuffle(way2) random.shuffle(way3) if tw=="Boston" or tw=="Washington": if tw=="Boston" and way1=="Left": print("Train is allowed to proceed through") break elif tw=="Boston" and way1=="Right": print("1st way, Switch switcher to the left") print("Train is allowed to proceed through") break elif tw=="Washington" and way1=="Right": print("Train is allowed to proceed through") break elif tw=="Washington" and way1=="Left": print("1st way, Switch switcher to the right") print("Train is allowed to proceed through") break Can't understand why programm gives no output, can someone help me understand what is my mistake? Also, thanks