Question: Please no fancy stuff beyond the basics Lyrics: The Lights on the Christmas Tree (# first half of this song) The lights on the tree
Lyrics: The Lights on the Christmas Tree (# first half of this song) The lights on the tree go blink blink blink, Blink blink blink, blink blink blink, The lights on the tree go blink blink blink, On Christmas Day! (# next portion of this song) The mom at the house go bake, bake, bake. Bake, bake, bake, bake, bake, bake The mom at the house go bake, bake, bake. On Christmas Day! # ExamSamples.py # using multiple functions. def lightsOnTree): def blink): def captalizeBlinkO: return ("The lights on the tree go") return ("blink blink blink,") # string method, textbook PAGE 140 return blink().capitalize() def onChristmasDay): return ("On Christmas Day!") ### you can DEFINE functions for second half of the song as below: ### you can DEFINE functions for second half of the song as above: def mainO: print (lightsOnTree)O+ blink)) print (captalizeBlink)+ blink)) print (lightsOnTree)+ blinkO) print (onChristmasDay)) prinConchrstmasbay0) print O ### you can CALL functions for second half of the song as below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
