Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=["On the","day of Christmas\nmy true love sent to me:","First","Second","Third","Fouth","Fith","Sixth","Seventh","Eighth","Ninth","Tenth","Eleventh","Twelth"]
- 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"]
- def r(k):
- if i==0:
- print(c[0])
- elif k==0:
- print("and",c[0])
- else:
- print((k+1),c[k])
- r(k-1)
- for i in range(12):
- print(a[0],a[i+2],a[1])
- r(i)
Advertisement
Add Comment
Please, Sign In to add comment