CHALLENGE ACTIVITY 5.4.2: While loop: Print 1 to N. Write a while loop that prints from 1 to user_num, increasing by 1 each time.Sample output with input: 4 1 2 3 4 Use Python please....



CHALLENGE ACTIVITY


5.4.2: While loop: Print 1 to N.







Write a while loop that prints from 1 to user_num, increasing by 1 each time.


Sample output with input: 4


1 2 3 4


Use Python please.


344614.2153518.qx3zqy7<br>1 i = 1<br>2<br>1 test<br>passed<br>3 user_num = int(input()) # Assume positive<br>4<br>5 ' Your solution goes here '

Extracted text: 344614.2153518.qx3zqy7 1 i = 1 2 1 test passed 3 user_num = int(input()) # Assume positive 4 5 ' Your solution goes here '" All tests 6 passed Run Feedback? DDI

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here