[solved] traffic light code

when i did use the pullup the switch didn't work so i looked on google and someone had changed it and it worked