QUESTION IMAGE
Question
question 7
write a python while loop that counts up from 1 to 20, printing each number as it goes
edit format table
12pt paragraph b i u a t²
Step1: Initialize a variable
i = 1
Step2: Set up the while - loop condition
while i <= 20:
Step3: Print the number and increment the variable
print(i)
i += 1Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
i = 1
while i <= 20:
print(i)
i += 1