Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

Define promotion.

Answered: 1 week ago

Question

Write a note on transfer policy.

Answered: 1 week ago

Question

Discuss about training and development in India?

Answered: 1 week ago

Question

Explain the various techniques of training and development.

Answered: 1 week ago