I would do something along these lines:
def sing(lines):
template='''
Old MacDonald had a farm, Ee-igh, Ee-igh, Oh!
And on the farm he had a {animal}
Ee-igh, Ee-igh, Oh!
With a {sound}, {sound} here and a {sound}, {sound} there.
Here a, {sound}, there a, {sound}, everywhere a, {sound}, {sound}.
Old MacDonald had a farm, Ee-igh, Ee-igh, Oh!'''
verses=[("cow", "moo"),
("horse", "neigh"),
("pig", "oink"),
("goat","baa"),
("hen", "cluck")]
li=[]
for n in range(0,5):
li.append(template.format(animal=verses[n][0], sound=verses[n][1]))
song=''.join(li)
return '\n'.join(song.splitlines()[0:lines+1])
def main():
lines = input("Enter the amount of lines you would like to see: ")
print(sing(int(lines)))
main()