Question: 1 0 1 - 2 1 6 9 2 / chapter / 3 / section / 1 7 gy Programming Logic home > 3 .

101-21692/chapter/3/section/17
gy Programming Logic home >3.17: Counting
Check
Next
CHALLENGE
ACTIVITY
3.17.2: While loop: Print 1 to N.
Write a while loop that prints from 1 to user_num, increasing by 1 eacly time.
Sample output with input: 4
1
2
3
4
Learn how our autograder works
1,i=1
user_num = int(input()) # Assume positive
|' Your solution goes here ".
 101-21692/chapter/3/section/17 gy Programming Logic home >3.17: Counting Check Next CHALLENGE ACTIVITY

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!