Question: Q 3 - 2 ) What will be the output of the following Python code when we run it ? I = 1 while True:

Q3-2) What will be the output of the following Python code when we run it?
I=1
while True:
A)1234
If 1%4==0 :
v)123
break
C) error
print(i)
D)246
1+=1
E) None of the above
E)12
1+=1
Q3-3) If x=41.536 What will be the output of the expression print("%.2f''%x)
A)41:536
B)41.53
C)41.00
D)41%.2
=
Q3-4) Which of the following Python statements will result in the output: 6?
]
[3,5,9],
[[4,6,8]
B)x[1][2]
C)x[3][2]
D)x[2][3]
E) None of the above
 Q3-2) What will be the output of the following Python code

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!