Iterating With For Loops
I do not really understand how to do this.
rainbow = ['red', 'orange', 'yellow', 'green', 'blue', 'indigo', 'violet']
Just use a for loop to print each element in the list.
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.