a0.Study the following statement:>>>"a"+"bc" A.a+bc B.abc C.a bc D.a b)1.a=1 2.whileTrue: 3.ifa%7==0: 4.break 5.print(a)6.a+=1 Which of the following is correct output of this program? A.1 2 3 4 5 B.1 2 3 4 5 6 C.1 2 3 4 5 6 7 D.Invalid syntax c)1.i=0 2.whilei<3: 3.print(i) 4.i+=1 5.else:
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
a0.Study the following statement:>>>"a"+"bc"
A.a+bc B.abc C.a bc D.a
b)1.a=1
2.whileTrue:
3.ifa%7==0:
4.break
5.print(a)6.a+=1
Which of the following is correct output of this program?
A.1 2 3 4 5
B.1 2 3 4 5 6
C.1 2 3 4 5 6 7
D.Invalid syntax
c)1.i=0
2.whilei<3:
3.print(i)
4.i+=1
5.else:
6.print(0)
What will be the output of this statement?
A.0 1
B.0 1 2
C.0 1 2 0
D.0 1 2 3
d)1.i=0
2.whilei<5:
3.print(i)
4.i+=1
5.ifi==3:
6.break
What will be the output of this statement?
A.1 2 3
B.0 1 2 3
C.0 1 2
D.3 2 1
e)1.d={0:'a',1:'b',2:'c'}
2.foriind:
3.print(i)
What will be the output of this statement?
A.a b c
B.0 1 2
C.0 a 1 b 2 c
D.None of these above
Step by step
Solved in 3 steps with 2 images