Advertisement
SansPapyrus683

Loop Exercise 3

May 22nd, 2022
1,267
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ingredients = [
  2.     'snails',
  3.     'leeches',
  4.     'gorilla belly-button lint',
  5.     'caterpillar eyebrows',
  6.     'centipede toes'
  7. ]
  8.  
  9. # print(ingredients[0])
  10.  
  11. numbers = [1, 2, 3, 4, 5]
  12. for j in numbers:
  13.     print(str(j) + " " + ingredients[j - 1])
  14.  
Advertisement
RAW Paste Data Copied
Advertisement