subject

Animal= input("Enter an animal:") sound= input ("Enter a sound:")

e = "E-I-E-I-O"

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: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 18:20
The following if statement contains a logic error, not a syntax error. rewrite it so that it is correct. assume the variable age already exists and holds a valid number. if (age == 18 & & age == 19) {
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
Brad wants to buy flowers for his friend with 33 dollars.the daisies are 1 dollar each and the roses are 2 dollars each he buy 3 more daisies than roses how much did the roses cost
Answers: 2
question
Computers and Technology, 25.06.2019 07:50
Assignment: permutations use the permutation formula   r ! ! n n p nr   to solve each problem. be sure to show all work leading to your answer. part i: solve real-world permutation problems choose any four (4) of the following five problems to solve. for each problem a) show how the permutation formula can be used to find the answer and b) write a sentence to explain the meaning of the answer for the situation. 1. to register for online banking services at a local credit union, you need to select a four-digit personal identification number, or pin code. the digits cannot be repeated. how many ways are there to arrange four digits out of the numerals 0 through 9 to create a code?
Answers: 3
question
Computers and Technology, 25.06.2019 08:30
Acollection of computers and other devices that are connected together to enable users to share hardware, software, and data, as well as to communicate electronically with each other is called
Answers: 1
You know the right answer?
Animal= input("Enter an animal:") sound= input ("Enter a sound:")

e = "E-I-E-I-O"
...
Questions
question
Chemistry, 23.10.2020 21:00
question
Chemistry, 23.10.2020 21:00
question
History, 23.10.2020 21:00
Questions on the website: 13722367