Advertisement
kealeydodds

Untitled

Sep 15th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #This code will include a function that displays a nursery rhyme
  2.  
  3. rhyme = ["Hickory dickory dock ", "the mouse ran up the clock", "The clock struck one", "the mouse ran down", "Hickory, dickory dock."]
  4.  
  5. def nursery_rhyme(rhyme):
  6. for item in rhyme:
  7. print(item)
  8.  
  9. nursery_rhyme(rhyme)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement