subject
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)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
The average cost of one year at a private college in 2012-2013 is $43,289. the average grant aid received by a student at a private college in 2012-2013 is $15,680.   what is the average student contribution for one year at a private college in 2012-2013?
Answers: 3
question
Computers and Technology, 24.06.2019 04:30
1. web and mobile applications allow users to be actively engaged in an online activity. a true b false 2. some examples of business applications purposes are to collaborate, share files, meet virtually in real-time, and accept payments. a true b false 3. an education application would most likely do which of the following? a allow users to watch popular movies and tv shows b connect users with social and business contacts c confirm users' travel plans d teach users a new language 4. a uniform resource locator (url) is how the internet knows where to take users when an address is typed into a browser. a true b false 5. deon is required to provide the citation information for his sources. what type of information should he collect from his sources? a author name, title, date of publication, date of access, url b connections to background information c interesting facts and statistics d notes on important information
Answers: 1
You know the right answer?
There are a few errors in the code provided in the Code Editor. Your task is to debug the code so th...
Questions
question
Mathematics, 01.09.2019 20:30
question
Mathematics, 01.09.2019 20:30
question
Health, 01.09.2019 20:30
Questions on the website: 13722363