cardsleft returns the number of cards remaining in the deck test your program by having it deal out sequence of cards from shuffled deck where is user input you could also use your deck object to implement blackjack simulation where the pool of cards is finite see programming exercises and in create class called statset that can be used to do simple statistical calculations the methods for the class are__init__(selfcreates statset with no data in it addnumber(self,xx is number adds the value to the statset mean(selfreturns the mean of the numbers in this statset median(selfreturns the median of the numbers in this statset stddev(selfreturns the standard deviation of the numbers in this statset count(selfreturns the count of numbers in this statset min(selfreturns the smallest value in this statset max(selfreturns the largest value in this statset test your class with program similar to the simple statistics program from this in graphics applicationsit often useful to group separate pieces of drawing together into single object for examplea face might be drawn from individual shapesbut then positioned as whole group create new class graphicsgroup that can be used for this purpose graphicsgroup will manage list of graphics objects and have the following methods__init__(selfanchoranchor is point creates an empty group with the given anchor point getanchor(selfreturns clone of the anchor point addobject(selfgobjectgobject is graphics object adds gobject to the group move(selfdx,dymove all of the objects in the group (including the anchor pointdraw(selfwindraws all the objects in the group into win the anchor point is not drawn undraw(selfundraws all the objects in the group use your new class to write program that draws some simple picture with multiple components and move it to wherever the user clicks extend the random walk program from (programming exercise to keep track of how many times each square of the sidewalk is crossed start your walker in the middle of sidewalk of length where is user inputand continue the simulation until it drops off one of the ends then print out the counts of how many times each square was landed on create and test set class to represent classical set your sets should support the following methods