Making a police light from a Raspberry Pi isn’t easy! But it sure is cheap. You will need: 7 wires 1 raspberry pi 3 1 red LED 1 blue LED 2 220 ohm resistors 1 momentary push button 1 breadboard Now place the pieces like the following: Then, using python,…
Day: May 9, 2021
Python print() (Pt. 2)
The “%s” sign Try this code: Did it print what you thought it would? This is like the substitution method in linear equations. For all the “%s” signs, at the end, after the “%” sign, Using what is after it, replaces the “%s” sign. Can I use multiple “%s” signs?…
