Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started