M

Manisha Agrawal • 9.34K Points
Tutor III

Q. Write the output of the following code

Code:
a = "AMIT"
for i in range(len(a)):
print(a)
  • (A) Error
  • (B) AMIT AMIT AMIT
  • (C) AMIT AMIT AMIT AMIT
  • (D) A M I T
  • Correct Answer - Option(C)
  • Views: 132
  • Filed under category Python

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics