SEE PLAYLIST IN DESC FOR UPDATED VERSION Python Modulo and Ternary Operators w Circular LED Patterns

Опубликовано: 25 Март 2026
на канале: Prof. John Gallaugher
153
9

Al videos in this series are updated at: https://bit.ly/circuitpython-school
Also note new channel:    / @buildwithprofg  
We'll learn ways we can improve the solution to our Fidget Dot challenge by using the Modulo % (sometimes called modulus or remainder) operator, and the ternary operator. These are efficient one-liners that can allow you to write less code and more efficient code.
Part of Prof. John Gallaugher's Physical Computing course: https://bit.ly/circuitpython-tutorials