sing("lucy"print(sing("elmer"it doesn' get much easier than that here is the complete program as module file happy py def happy()print("happy birthday to you!"def sing(person)happy(happy(print("happy birthdaydear"person "happy(def main()sing("fred"print(sing("lucy"print(sing("elmer"main( future value with function now that you've seen how defining functions can help solve the code duplication problemlet' return to the future value graph rememberthe problem is that bars of the graph are drawn at two different places in the program the code just before the loop looks like thisdraw bar for initial principal bar rectangle(point( )point( principal)bar setfill("green"bar setwidth( bar draw(winand the code inside of the loop is as follows bar rectangle(point(year )point(year+ principal)bar setfill("green"