M

Manisha Agrawal • 9.34K Points
Tutor III

Q. Write the output of the following

Code:
a = 7
for i in 7:
    print(a)
  • (A) Error
  • (B) 1 2 3 4 5 6
  • (C) 7
  • (D) No output
  • Correct Answer - Option(A)
  • Views: 130
  • 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