Question
verse1_lyrics = Sitting on a cornflake, waiting for the van to come Corporation tee-shirt, stupid bloody Tuesday Man, you've been a naughty boy, you let
verse1_lyrics = """Sitting on a cornflake, waiting for the van to come Corporation tee-shirt, stupid bloody Tuesday Man, you've been a naughty boy, you let your face grow long""" verse2_lyrics = """Mister City, policeman sitting Pretty little policemen in a row See how they fly like Lucy in the Sky, see how they run I'm crying, I'm crying""" verse3_lyrics = """Sitting in an English garden waiting for the sun If the sun don't come, you get a tan From standing in the English rain""" chorus_lyrics = """I am the egg man, they are the egg men I am the walrus, goo goo g'joob"""
def main(): # call other functions here
# these functions should print to standard output # they should take no parameters, and instead use the strings defined at the top level scope def verse1(): def verse2(): def verse3(): def chorus(): ''' here we call the main function ''' main()
Your task is to write several functions that print the lyrics of one of the best songs of all time to standard output. Rock-n-roll songs typically follow a verse-chorus form, where the verse is unique, but the chorus is repeated verbatim. Instead of writing the chorus text over and over, we will use a function. We will define the main function stub for you, your task is to write the body of the main function and the remaining 4 functions to implement the following song structure: verse 1 chorus verse 2 chorus verse 3 chorus We defined the lyrics strings for you. Print a newline between sections so it is easier to differentiate between verses and the chorusStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started