A

Admin • 833.24K Points
Coach

Q. Write the output of the following:

Code:
k = 5
sk = 0;
while k <= 12:
sk = sk + k
k = k + 4
print(sk, k)
  • (A) 14 14
  • (B) 13 14
  • (C) 14 13
  • (D) 13 13
  • Correct Answer - Option(C)
  • Views: 24
  • Filed under category Python
  • Hashtags:

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.