Here’s a code snippet showing the example code used in this lesson:
clouds = ["Stratus", "Cumulus", "Cirrus", "Alto", "Nimbus"]
# Bad: Using the list index
# for i in range(len(clouds)):
# print(clouds[i])
# Good: Pythonic for-loops
for cloud in clouds:
print(cloud)