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
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2 3 4 4 6 8 6 9

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
218
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
83%
Success Rate