Sail E0 Webinar
Question
What is the output of the given code?m= 0loop do    m += 1    print m    break if m == 10end
Options:
A .  12345678910
B .  1 2 3 4
C .  2 3 4 5
D .  None of the mentioned
Answer: Option A


Loop till the condition is met and break when the condition is not satisfied.
Output:
12345678910



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers