in these exercisesyou're going to start coding more sophisticated programs be sure to check the solutions in part iv in appendix dand be sure to start writing your code in module files you won' want to retype these exercises if you make mistake the basics at the python interactive promptwrite function that prints its single argument to the screen and call it interactivelypassing variety of object typesstringintegerlistdictionary thentry calling it without passing any argument what happenswhat happens when you pass two arguments arguments write function called adder in python module file the function should accept two arguments and return the sum (or concatenationof the two thenadd code at the bottom of the file to call the adder function with variety of object types (two stringstwo liststwo floating points)and run this file as script from the system command line do you have to print the call statement results to see results on your screen varargs generalize the adder function you wrote in the last exercise to compute the sum of an arbitrary number of argumentsand change the calls to pass more or fewer than two arguments what type is the return value sum(hintsa slice such as [: returns an empty sequence of the same type as sand the type builtin function can test typesbut see the manually coded min examples in for simpler approach what happens if you pass in arguments of different typeswhat about passing in dictionaries keywords change the adder function from exercise to accept and sum/concatenate three argumentsdef adder(goodbaduglynowprovide default values for each argumentand experiment with calling the function interactively try passing onetwothreeand four arguments thentry passing keyword arguments does the call adder(ugly= good= workwhyfinallygeneralize the new adder to accept and sum/concatenate an arbitrary number of keyword arguments this is similar to what you did in exercise but you'll need to iterate over dictionarynot tuple (hintthe dict keys method returns list you can step through with for or whilebut be sure to wrap it in list call to index it in xdict values may help here too dictionary tools write function called copydict(dictthat copies its dictionary argument it should return new dictionary containing all the items in its argument use the dictionary keys method to iterate (orin python and laterstep over dictionary' keys without calling keyscopying sequences is easy ( [:makes top-level copy)does this work for dictionariestooas explained in this exercise' solutionbecause dictionaries now come with similar toolsthis and the next exercise are just coding exercises but still serve as representative function examples dictionary tools write function called adddict(dict dict that computes the union of two dictionaries it should return new dictionary containing all the items test your knowledgepart iv exercises