IV. Friday problems on Python I/O A. Output of repetative song lyrics ------------------------------------------ FOR YOU TO DO 1. Write a procedure to output the lyrics of the civil rights song "We Shall Overcome" with a minimum amount of repeated code. The lyrics are: We shall overcome We shall overcome We shall overcome Some day... (Oh,) deep in my heart I do believe We shall overcome Some day. We'll walk hand in hand We'll walk hand in hand We'll walk hand in hand Some day... (Oh,) deep in my heart I do believe We'll walk hand in hand Some day We shall live in peace We shall live in peace We shall live in peace Some day... (Oh,) deep in my heart I do believe We shall live in peace Some day We are not afraid We are not afraid We are not afraid Some day... (Oh,) deep in my heart I do believe We are not afraid Some day ------------------------------------------ Do you see the pattern? ------------------------------------------ ANOTHER SONG 2. Write a procedure to print the lyrics of the song "The wheels on the bus", i.e., The wheels on the bus go round and round round and round round and round The wheels on the bus go round and round All 'round the town. The whipers on the bus go swish, swish, swish swish, swish, swish swish, swish, swish The whipers on the bus go swish, swish, swish All 'round the town. The people on the bus go up and down up and down up and down The people on the bus go up and down All 'round the town. ------------------------------------------ What's the pattern of this one? ------------------------------------------ 99 BOTTLES OF BEER ON THE WALL 3. Write a procedure bottlesofbeer(n) to print the nth lyric of the song "99 Bottles of Beer on the Wall", i.e., for n == 99: 99 bottles of beer on the wall, 99 bottles of beer! You take one down, pass it around, 98 bottles of beer on the wall! ------------------------------------------ ------------------------------------------ SALES TOTAL 4. Write a procedure sales_total() to prompt for and read the prices of 3 pairs of shoes, and print the sum of the prices with a 6% sales tax added. Example (with user inputs to right of '?' on lines 1-3): 1st price? 64.99 2nd price? 73.95 3rd price? 102.00 Sales tax: $14.46 Total price: $138.94 ------------------------------------------