Gallery
Solution Array Challenge 1.2. Age Ratings
Share
Explore
Solution Array Challenge 1.2. Age Ratings

icon picker
Solution

Solution

solution
print('\n\n') # display blank line (2)

# sets up array of year released
ageRating = ['PG', '15', '15', '12', '15', '15', '15', '15']


# prints out each element of array
for i in range(0, len(ageRating), 1) :
print(ageRating[i])
original
print('\n\n') # display blank line (2)

# sets up array of year released



# prints out each element of array
Share
 
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.