Computers and Technology, 19.11.2020 18:00 JSTAX01
There are a few errors in the code provided in the Code Editor. Your task is to debug the code so that it outputs the verses correctly.
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)
Answers: 3
Computers and Technology, 23.06.2019 05:20
What did creator markus “notch" persson initially call his game
Answers: 1
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
Computers and Technology, 25.06.2019 00:00
What function key is used to enable the spelling and grammar function
Answers: 1
Computers and Technology, 25.06.2019 08:30
Which of the following terms is described as “the art and design of using text”? a. typography b. elements of design c. typos d. graphic design
Answers: 1
There are a few errors in the code provided in the Code Editor. Your task is to debug the code so th...
Geography, 21.12.2020 01:00
Chemistry, 21.12.2020 01:00
Mathematics, 21.12.2020 01:00
Mathematics, 21.12.2020 01:00
Biology, 21.12.2020 01:00
Business, 21.12.2020 01:00
Mathematics, 21.12.2020 01:00
Mathematics, 21.12.2020 01:00
Mathematics, 21.12.2020 01:00