188k views
4 votes
For the Python program below, will there be any output, and will the program terminate?

while True: while 1 > 0: break print("Got it!") break
a. Yes and no
b. No and no
c. Yes and yes
d. No and yes
e. Run-time error

2 Answers

3 votes
The answer is E ,
hope it’s help
User Gaurav Kumar Singh
by
7.4k points
1 vote
the answer is e ......
User Vitaly Kulikov
by
8.2k points