For the latest videos in this series, see: https://bit.ly/circuitpython-school (note the new URL)
We'll first learn about Python lists. We'll create lists, learn to reference list values, then learn various ways to traverse lists, including using a for loop with a range of a list's length, iteration on a list, and using enumerate to go through a list - extracting both an index and a value. We'll add an element to a list using .append(), and we'll learn lots of tips & tricks, that can be applied in PyCharm and with the REPL, Python, and programming. We'll then use our new-found listy knowledge on two challenges - flash the rainbow and loop the rainbow - which control NeoPixel lights on a CircuitPlayground using lists. In the process, we'll also learn about nesting loops. Prepare to learn big!
Part of Prof. John Gallaugher's University course in Physical Computing: Art, Robotics, and Tech for Good. Full, ordered playlist at https://bit.ly/circuitpython-school
Watch video UPDATED VIDEO LINKED IN DESC: Flash & Loop NeoPixels with Lists in Python (CircuitPython School) online without registration, duration hours minute second in high quality. This video was added by user Prof. John Gallaugher 08 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 304 once and liked it 7 people.