1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
rosijanka [135]
3 years ago
9

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 cor

rectly.
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)
Computers and Technology
1 answer:
jeyben [28]3 years ago
4 0

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)

This works for me. Best of luck.

You might be interested in
Which phrase refers to the collection of geospatial data through the use of satellite images/pictures?
love history [14]

Answer:

The appropriate answer will be "Using remote sensing".

Explanation:

<u>Such basic applications of Earth's remote sensing images usually involve: </u>

  • Heavily forested fires could be viewed out of space, enabling the wanderers to have a much wider area than those of the field.
  • Trying to track particles to accurately forecast the weather either watch volcanic eruptions, including helping out for outbreaks of dust.

So that the above is the correct solution.

5 0
3 years ago
1. What is an advantage of the PCIe bus over the PCI bus?
m_a_m_a [10]

Answer:

Explanation:

1. PCI Express (PCIe) is a next generation I/O bus architecture. Rather than a shared bus, each PCIe slot links to a switch which prioritizes and routes data through a point-to-point dedicated connection and provides a serial full-duplex method of transmission.

2. Mini-ITX or Laptops

3.PCMCIA Personal Computer Memory Card International Association

4. PCIe x1 slot

8 0
4 years ago
How do you get Brainliest on a question?
Mama L [17]

Answer:

yes that is the way things work and I think for the answer to be marked brainiest there must be two answers that were posted.

Explanation:

Hope this helps:)

5 0
3 years ago
Read 2 more answers
You can use automatic link-checking software to identify invalid hyperlinks. if you find invalid links, what should you do next?
Solnce55 [7]
Correct the href value of the appropriate anchor.
7 0
3 years ago
An Internet service provider that wants to influence consumers to immediately switch to its service would most likely utilize __
frutty [35]

Answer: Direct competitive

Explanation:

 The direct competitive situation occur when the two and more than two business in the market offering the similar type of services and the products so it automatically increase the level of competition in the market.

According to the question, the internet service is one of the most efficient tool for influence the customers or consumers about their products in the market and when the services are get switched then it utilize the direct competitive in the market.

Therefore, direct competitive is the correct option.

6 0
3 years ago
Other questions:
  • When entering a function or formula in a cell, which is the first character you must type?
    15·2 answers
  • Which element in Access is an ideal data source?
    12·2 answers
  • Consider the pseudo-cpu discussed in class. the instruction format is 16 bits, which is subdivided into 4-bit opcode field and 1
    14·1 answer
  • A. True <br> b. False: variables represent storage locations in the computer's memory.
    13·1 answer
  • List the steps in setting up an online banking account
    12·2 answers
  • Write a program that will manipulate Rectangle objects for which you will create a Rectangle class.
    5·1 answer
  • Which statements about grades are accurate? Check all that apply. Grades help indicate how well a student is understanding a cer
    13·1 answer
  • ) Write a program to calculate the time to run 5 miles, 10 miles, half marathon, and full marathon if you can run at a constant
    12·1 answer
  • All variables are----------------------------------------------- help please
    7·2 answers
  • Here’s my last question
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!