Question
Write a while loop that prints the numbers 1 through 5 .
Step 1
Initialize a variable `num` to 1. Show more…
Show all steps
Your feedback will help us improve your experience
Patina Herring and 50 other educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Assign the value 5 to the variable guess_me. Use a for loop to iterate a variable called number over range(10). If number is less than guess_me,
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD