Question: Array can store values of different datatypes. Select one: True False What will be the output of the below python program: import array as arr

 Array can store values of different datatypes. Select one: True False

What will be the output of the below python program: import array

as arr x=arr.array("i",[20,40,60,70,90,100]) for i in range(5,4,-1): print(x[i]) Answer: Consider a value

Array can store values of different datatypes. Select one: True False What will be the output of the below python program: import array as arr x=arr.array("i",[20,40,60,70,90,100]) for i in range(5,4,-1): print(x[i]) Answer: Consider a value as a=4 and b value as b=7 Write the output of below given program a=a-5 a+=5 b+=(a+b) print(b) Floor Division of two decimal numbers will give answer as decimal number. Select one: True False In python for loop statement step/changing value by default is taken as-1 Select one: True False What will be the output of the below program: x=5 y=2 z=x//y print("x%y=",z) x%y=1 error x%y=0 x%y=2 Consider the value of x=70 and value of y=3. X=Y Y=X ZE 2*pow(X,Y+2)/10 + 5 print(Z) What is answer for the statement print(z)

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!