animal = input("Enter an animal: ")
sound = input ("Enter a sound: ")
e = "E"
print ("Old Macdonald had a farm, " + e)
print ("And on his farm he had a" + animal + "," + e)
print ("With a " + animal + "-" + animal + " here and a" + sound + "-" + sound + " there")
print ("Here a "+ sound+ " there a " +sound)
print ("Everywhere a" + sound + "-" + animal )
print ("Old Macdonald had a farm," + e)
please debug this code im doing edhesive and its hard for me
Answers
Answered by
1
ok but mark my answer as brainlist first
follow me
Answered by
0
Enter an Animal
Enter a Sound
Old Macdonald had a farm, E
And on his farm he had a “Enter an animal”, E
Enter a Sound
Old Macdonald had a farm, E
And on his farm he had a “Enter an animal”, E
Similar questions