R
Q. Which of the following is correct output of this program?
Code:
1. a = 1
2. while True:
3. if a % 7 = = 0:
4. break
5. print(a)
6. a += 1
2. while True:
3. if a % 7 = = 0:
4. break
5. print(a)
6. a += 1
- Correct Answer - Option(B)
- Views: 193
- Filed under category Python
Discusssion
Login to discuss.