logancberrypie

582 - Woo!!!

Dec 19th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. a=["On the","day of Christmas\nmy true love sent to me:","First","Second","Third","Fouth","Fith","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelth"]
  2. c=["A Partridge in a Pear Tree\n","Turtle Doves","French Hens","Calling Birds","Golden Rings","Geese a Laying","Swans a Swimming","Maids a Milking","Ladies Dancing","Lords a Leaping","Pipers Piping","Drummers Drumming"]
  3. def r(k):
  4. if i<1:
  5. print(c[0])
  6. elif k<1:
  7. print("and",c[0])
  8. else:
  9. print(k+1,c[k])
  10. r(k-1)
  11. for i in range(12):
  12. print(a[0],a[i+2],a[1])
  13. r(i)
Advertisement
Add Comment
Please, Sign In to add comment