A simple program which allows the user to replace nouns and adjectives in a Poem in Python programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website, kindly contact me also at my email address also. Thank you.

My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com

My mobile number here in the Philippines is 09173084360

Program Listing

# Replace Noun and Adjectives in a Poem
# Jake Rodriguez Pomperada, MAED-IT, MIT
# www.jakerpomperada.com  and www.jakerpomperada.blogspot.com
# jakerpomperada@gmail.com
# Bacolod City, Negros Occidental

noun1 = str(input("Input the first noun: "))
noun2 = str(input("Input the second noun: "))
adj1 = str(input("Input the first adjective: "))
adj2 = str(input("Input the second adjective: "))

poem = "Up there on the mountain road, the fireworks blistered and subsided."
reps = "Up there on the {} {}, the fireworks {} and {}."
reps = reps.format(noun1.upper(), noun2.upper(), adj1.upper(), adj2.upper())
print("Original poem: ", poem)
print("Result: ", reps)