A

Admin • 832.27K Points
Coach

Q. Write the output of the following :

Code:
for x in range(1,4):
for y in range(2,5):
if x * y > 10:
break
print (x * y, end=" ")
  • (A) 2 3 4 4 6 8 6
  • (B) 2 3 4 4 6 8 6 9
  • (C) 3 4 4 6 8 6 9
  • (D) 2 3 4 4 6 8 6 9 9
  • Correct Answer - Option(B)
  • Views: 19
  • 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.