<filename>DailyProgrammer/DP20161219A.py
"""
[2016-12-19] Challenge #296 [Easy] The Twelve Days of...

https://www.reddit.com/r/dailyprogrammer/comments/5j6ggm/20161219_challenge_296_easy_the_twelve_days_of/

#Description
Print out the lyrics of [The Twelve Days of Christmas](http://www.41051.com/xmaslyrics/twelvedays.html)
#Formal Inputs & Outputs
##Input description
No input this time
##Output description
    On the first day of Christmas
    my true love sent to me:
    1 Partridge in a Pear Tree
    On the second day of Christmas
    my true love sent to me:
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the third day of Christmas
    my true love sent to me:
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the fourth day of Christmas
    my true love sent to me:
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the fifth day of Christmas
    my true love sent to me:
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the sixth day of Christmas
    my true love sent to me:
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the seventh day of Christmas
    my true love sent to me:
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the eighth day of Christmas
    my true love sent to me:
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the ninth day of Christmas
    my true love sent to me:
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the tenth day of Christmas
    my true love sent to me:
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the eleventh day of Christmas
    my true love sent to me:
    11 <NAME>
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the twelfth day of Christmas
    my true love sent to me:
    12 Drummers Drumming
    11 <NAME>
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
#Notes/Hints
    We want to have our source code as small as possible.
    Surprise me on how you implement this.
#Bonus 1
Instead of using `1, 2, 3, 4...`, use `a, two, three, four...`
#Bonus 2
Recieve the gifts from input:
##Input
    Partridge in a Pear Tree
    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
##Output
The song described as above
#Finally
Have a good challenge idea?
Consider submitting it to /r/dailyprogrammer_ideas
"""


def main():
    pass


if __name__ == "__main__":
    main()

<filename>DailyProgrammer/DP20161219A.py
"""
[2016-12-19] Challenge #296 [Easy] The Twelve Days of...

https://www.reddit.com/r/dailyprogrammer/comments/5j6ggm/20161219_challenge_296_easy_the_twelve_days_of/

#Description
Print out the lyrics of [The Twelve Days of Christmas](http://www.41051.com/xmaslyrics/twelvedays.html)
#Formal Inputs & Outputs
##Input description
No input this time
##Output description
    On the first day of Christmas
    my true love sent to me:
    1 Partridge in a Pear Tree
    On the second day of Christmas
    my true love sent to me:
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the third day of Christmas
    my true love sent to me:
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the fourth day of Christmas
    my true love sent to me:
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the fifth day of Christmas
    my true love sent to me:
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the sixth day of Christmas
    my true love sent to me:
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the seventh day of Christmas
    my true love sent to me:
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the eighth day of Christmas
    my true love sent to me:
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the ninth day of Christmas
    my true love sent to me:
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the tenth day of Christmas
    my true love sent to me:
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the eleventh day of Christmas
    my true love sent to me:
    11 <NAME>
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
    On the twelfth day of Christmas
    my true love sent to me:
    12 Drummers Drumming
    11 <NAME>
    10 Lords a Leaping
    9 Ladies Dancing
    8 Maids a Milking
    7 Swans a Swimming
    6 Geese a Laying
    5 Golden Rings
    4 Calling Birds
    3 French Hens
    2 Turtle Doves
    and 1 Partridge in a Pear Tree
#Notes/Hints
    We want to have our source code as small as possible.
    Surprise me on how you implement this.
#Bonus 1
Instead of using `1, 2, 3, 4...`, use `a, two, three, four...`
#Bonus 2
Recieve the gifts from input:
##Input
    Partridge in a Pear Tree
    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
##Output
The song described as above
#Finally
Have a good challenge idea?
Consider submitting it to /r/dailyprogrammer_ideas
"""


def main():
    pass


if __name__ == "__main__":
    main()

[2016-12-19] Challenge #296 [Easy] The Twelve Days of...  https://www.reddit.com/r/dailyprogrammer/comments/5j6ggm/20161219_challenge_296_easy_the_twelve_days_of/  #Description Print out the lyrics of [The Twelve Days of Christmas](http://www.41051.com/xmaslyrics/twelvedays.html) #Formal Inputs & Outputs ##Input description No input this time ##Output description     On the first day of Christmas     my true love sent to me:     1 Partridge in a Pear Tree     On the second day of Christmas     my true love sent to me:     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the third day of Christmas     my true love sent to me:     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the fourth day of Christmas     my true love sent to me:     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the fifth day of Christmas     my true love sent to me:     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the sixth day of Christmas     my true love sent to me:     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the seventh day of Christmas     my true love sent to me:     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the eighth day of Christmas     my true love sent to me:     8 Maids a Milking     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the ninth day of Christmas     my true love sent to me:     9 Ladies Dancing     8 Maids a Milking     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the tenth day of Christmas     my true love sent to me:     10 Lords a Leaping     9 Ladies Dancing     8 Maids a Milking     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the eleventh day of Christmas     my true love sent to me:     11 <NAME>     10 Lords a Leaping     9 Ladies Dancing     8 Maids a Milking     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree     On the twelfth day of Christmas     my true love sent to me:     12 Drummers Drumming     11 <NAME>     10 Lords a Leaping     9 Ladies Dancing     8 Maids a Milking     7 Swans a Swimming     6 Geese a Laying     5 Golden Rings     4 Calling Birds     3 French Hens     2 Turtle Doves     and 1 Partridge in a Pear Tree #Notes/Hints     We want to have our source code as small as possible.     Surprise me on how you implement this. #Bonus 1 Instead of using `1, 2, 3, 4...`, use `a, two, three, four...` #Bonus 2 Recieve the gifts from input: ##Input     Partridge in a Pear Tree     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 ##Output The song described as above #Finally Have a good challenge idea? Consider submitting it to /r/dailyprogrammer_ideas