Question: A ) Copy and paste the given data structures in athe following code cell and run. ( 1 0 ) d s 1 = [

A) Copy and paste the given data structures in athe following code cell and run. (10)
ds1=[1,0,0.5,-10,itsme, True ]
ds2=(1,0,0.5,-10,itsme, True )
ds3={1,4,1,0,0,a,50,b,p}
ds4={size: [10,12,14,16,18],colors:[red,green,blue,purple,black]}
In [2]: ds its me", True]
B) Use type() function to display the class each of these 4 variables belong to (10)
In []:
C) Use len() function to display the lengths (i.e. number of contents) of each of these 4 data structures. (10)
In []:
D) Make you comment on the lengths of ds3 and ds4.(10)
 A) Copy and paste the given data structures in athe following

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!