Review Note

Last Update: 05/03/2024 09:06 PM

Current Deck: Python::Python - Idiomatic

Published

Currently Published Content


Front
Looping backwards

colors = ['red', 'green', 'blue', 'yellow']
Back
for color in reversed(colors):
    print(color)

No published tags.

Pending Suggestions


No pending suggestions for this note.