Hi
im having trouble with a lab that was assigned today. The program has take input from the user which lights are on button 1 controls the NW and SE hallways, button 2 controls the NE and SW hallways, button 3 controls the SE and NE hallways, and button 4 controls the SW and NW hallways the program then has too tell which lights are on. any hallway with 0 signal has the lights off, any hallway with 1 signal on has the lights on , and any hallway with 2 signals on has the lights off. and it all has to be done in a function using if and else statements.
I know that the when the user inputs data i need to use the raw_input("prompt") thing but after this im lost please help!
plzhelp 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.