Reference no: EM132113543 
                                                                               
                                       
Python Question:
Write a function called depth. It is passed an object x, that may or may not be a list.
If x is a list, some of the items in x may themselves be lists, which also may or may not contain additional embedded lists.
The function returns the maximum depth of the embedded lists. For example:
The solution must be recursive
>>> depth(10)
0
>>> depth([1,2,3])
1
>>> depth([1,[2,3],4])
2
>>> depth([1,[3,1,2],[[3,6,2],[6,1,0,6]]])
3
                                       
                                     
                                    
	
		| Probability that at most 10 will come to a complete stop
                                        : Suppose that only 20% of all drivers come to a complete stop at an intersection having flashing red lights in all directions when no other cars are visible. | 
		| How many ways are there to assign students
                                        : There are 100 students at a school and three dormitories, A, B, and C, with capacities 25, 35, and 40, respectively. | 
		| Write an example of an anchor element which links
                                        : Write an example of an anchor element which links to the Google homepage. The hyperlink should look like this when displayed in a browser. | 
		| Members of the club refuse to serve
                                        : How many ways if, in addition, one particular man and one particular woman who are members of the club refuse to serve together on the committee? | 
		| Write a function called depth
                                        : If x is a list, some of the items in x may themselves be lists, which also may or may not contain additional embedded lists. | 
		| What is the probability that at least nine will work
                                        : Among 10 randomly selected flashlights, what is the probability that at least nine will work? | 
		| What is the probability that at most 10 will come
                                        : If we randomly select 30 drivers that approach an intersection under these conditions, what is the probability that at most 10 will come to a complete stop? | 
		| Apple growers in tone northwestern state
                                        : An apple producer buys all his apples from a conglomerate of apple growers in tone northwestern state. | 
		| Write a function which is passed three parameters
                                        : Write a function which is passed 3 parameters, all of which are strings. The function returns a copy of the string s with all occurrences. |