Answer to Question #102953 in Python for Anthony

Question #102953
Old Macdonald had a farm, E-I-E-I-O
And on his farm he had a Python, E-I-E-I-O
With a ssss-ssss here and a ssss-ssss there
Here a ssss there a ssss
Everywhere a ssss-ssss
Old Macdonald had a farm, E-I-E-I-Oa = input("Enter an animal: ")
s = input ("Enter a sound: ")

e = "E"

print ("Old Macdonald had a farm, " + e)
print ("And on his farm he had a" + a + "," + e)
print ("With a " + a + "-" + a + " here and a" + s + "-" + s + " there")
print ("Here a "+ s+ " there a " +s)
print ("Everywhere a" + s + "-" + a )
print ("Old Macdonald had a farm," + e)
1
Expert's answer
2020-02-14T06:12:51-0500

The text of this question isn't understandable, i only can write code in python:

a = input("Enter an animal: ")
s = input("Enter a sound: ")
e = "E"

print("Old Macdonald had a farm "+ e)
print("And on his farm he had a" + a + "," + e)
print("With a " + a + "-" + a + " here and a " + s + "-" + s + " there")
print("Here a "+ s+ " there a " +s)
print("Everywhere a" + s + "-" + a )
print("Old Macdonald had a farm, " + e)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS