subject

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

e = "E-I-E-I-O"
plz help for comp sci phython this is what i have so far but it keeps saying wrong
print ("Old Macdonald had a farm, " + E-I-E-I-O "))
print ("And on his farm he had a" + animal + "," + E-I-E-I-O)
print ("With a " + sound + "-" + sound + " here and a" + sound + "-" + sound + " there")
print ("Here a "+ sound+ " there a " +sound)
print ("Everywhere a" + sound + "-" + sound )
print ("Old Macdonald had a farm," + E-I-E-I-O)

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:30, mesposito
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
image
Computers and Technology, 22.06.2019 20:10, ianmartin6080
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
image
Computers and Technology, 23.06.2019 12:00, anamatiascamaja
If you embed a word table into powerpoint, what happens when you make edits to the embedded data? a. edits made to embedded data change the data in the source file; however, edits made to the source file will not be reflected in the embedded data. b. edits made to embedded data will change the data in the source file, and edits made to the source file will be reflected in the embedded data. c. edits made to embedded data don't change the data in the source file, nor will edits made to the source file be reflected in the embedded data. d. edits made to embedded data don't change the data in the source file; however, edits made to the source file will be reflected in the embedded data.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, Gearyjames8
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
You know the right answer?
Animal = input("Enter an animal: ") sound = input ("Enter a sound: ")

e = "E-I-E-I-O"<...

Questions in other subjects:

Konu
Computers and Technology, 10.11.2020 01:00
Konu
Mathematics, 10.11.2020 01:00
Konu
Mathematics, 10.11.2020 01:00