Question: > > > s = [ 7 / / 3 , 5 , [ 4 , 0 , 1 ] , 2 ] > >

>>> s =[7//3,5,[4,0,1],2]
>>> s[0]
______
>>> s[2]
______
>>> s[-1]
______
>>> len(s)
______
>>>4 in s
______
>>>4 in s[2]
______
>>> s[2]+[3+2]
______
>>>5 in s[2]
______
>>> s[2]*2
______
>>> list(range(3,6))
______
>>> range(3,6)
______
>>> r = range(3,6)
>>>[r[0], r[2]]
______
>>> range(4)[-1]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!