Join 36000+ teachers and students using TTIO.
Computers and sensors can be used to control conditions in lots of different places. You might have sensors in your home to control the lights. When light sensors detect that it is dark outside a computer can instruct the lights in your driveway to switch on.
Traffic lights are another example. A computer responds to sensors on a camera, checking to see if cars are waiting. If they are, the lights are changed according to a set pattern. These are simple programmed actions in response to external changes.
www.teachyourselfpython.com