Old MacDonald had a farm, E-I-E-I-O
and on his farm he had a cow, E-I-E-I-O
With a moo-moo here, and a moo-moo there
here a moo, there a moo
everywhere a moo-moo
Old MacDonald had a farm, E-I-E-I-O

Who doesn't know this song from their childhood? Moreover, it invites to make a ton of combinations. For example, old MacDonald can have cows, pigs, or ducks on his farm. There are a ton of variations of this song, the oldest of which is a number of an opera called The Kingdom of the Birds from 1720. Another early version of this song can be found in the 1917 book "Tommy's Tunes", a collection of World War I era songs by F.T. Nettleingham.

Assignment

Write a function nurseryrhyme that prints the verses of the song for a specific completion of degrees of freedom which can be used to make combinations of the song. This function must use two optional parameters: animals and animal sounds. If no value is given for one of the parameters, the term of the original song is used as a standard value for that parameter. The verses must be printed on separate lines, in the same way they are printed above.

Example

>>> nurseryrhyme()
Old MacDonald had a farm, E-I-E-I-O
and on his farm he had a cow, E-I-E-I-O
With a moo-moo here, and a moo-moo there
here a moo, there a moo
everywhere a moo-moo
Old MacDonald had a farm, E-I-E-I-O
>>> nurseryrhyme('bee', 'buzz', 'buzz')
Old MacDonald had a farm, E-I-E-I-O
and on his farm he had a bee, E-I-E-I-O
With a buzz-buzz here, and a buzz-buzz there
here a buzz, there a buzz
everywhere a buzz-buzz
Old MacDonald had a farm, E-I-E-I-O
>>> nurseryrhyme(animal='dog', here='bow', there='wow')
Old MacDonald had a farm, E-I-E-I-O
and on his farm he had a dog, E-I-E-I-O
With a bow-wow here, and a bow-wow there
here a bow, there a wow
everywhere a bow-wow
Old MacDonald had a farm, E-I-E-I-O