Try Traffic Signal Lab free in your browser, with nothing to install and no account. Program the traffic light at Main and Oak with blocks or real Python. The controller adds the yellow and the all-red itself, the way a real one does, and the city grades your light the way it grades a traffic engineer: seconds lost per car, an A to F letter, and nobody hurt. Fix a rush hour, stop making cars wait at an empty corner at 2 a.m., serve the school crossing and let an ambulance through.