Gallery
Solution Debug 7.4. Sweet Nothings
Share
Explore
Solution Debug 7.4. Sweet Nothings

icon picker
Python Starter Code

Copy and paste the code below into your main.py file before you begin the task.
# sets up array of string
jellyBellyFlavours = ['Berry Blue, Bubble Gum, Candy Floss, Mixed Berry Smoothie, Tutti-Fruitti, Strawberry Cheesecake']

# display blank line
print('\n')
print(' Jelly Belly Flavours ')
print('=======================')
# display blank line
print('\n')
# repeats for the size of the array and prints each out element
for i in range(0, len(jellyBellyFlavours), 1) :
print(str(i+1) + ' : ' + jellyBellyFlavours[0])
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.