print the even ones printeven([ ] ''in your main programtest the functioncalling it several times with different lists of integers hinta number is even if its remainderwhen dividing by is even list exercise write program even py with function chooseeven with headingdef chooseeven(nums)'''given list of integersnumsreturn list containing only the even ones chooseeven([ ][ ''in your main programtest the functioncalling it several times with different lists of integers and printing the results in the main program (the documentation string illustrates the function call in the python shellwhere the return value is automatically printed rememberthat in programyou only print what you explicitly say to print hintin the functioncreate new listand append the appropriate numbers to itbefore returning the result unique list exercise the madlib py program has its getkeys functionwhich first generates list of each occurrence of cue in the story format this gives the cues in orderbut likely includes repetitions the original version of getkeys uses quick method to remove duplicatesforming set from the list there is disadvantage in the conversionthoughsets are not orderedso when you iterate through the resulting setthe order of the cues will likely bear no resemblance to the order they first appeared in the list that issue motivates this problemcopy madlib py to madlib pyand add function with this headingdef uniquelist(alist)''return new list that includes the first occurrence of each value in alistand omits later repeats the returned list should include the first occurrences of values in alist in their original order vals ['cat''dog''cat''bug''dog''ant''dog''bug'uniquelist(vals['cat''dog''bug''ant'''hintprocess alist in order use the in syntax to only append elements to new list that are not already in the new list after perfecting the uniquelist functionreplace the last line of getkeysso it uses uniquelist to remove duplicates in keylist check that your madlib py prompts you for cue values in the order that the cues first appear in the madlib format string more on flow of control