Question: Under what initial conditions (value for N) will this loop run forever? N = while N: ... # A number N -= 1
Under what initial conditions (value for N) will this loop run forever? N = while N: ... # A number N -= 1
Step by Step Solution
3.39 Rating (161 Votes )
There are 3 Steps involved in it
In Python the condition while N checks if the value of N is truthy In Python any non... View full answer
Get step-by-step solutions from verified subject matter experts
