Answers
>
Python
>
Mentoring
>
Article
How would you write a while loop to print all even numbers from 1-10?
i = 2while i <= 10: print(i) i += 2
CL
Answered by
Chantelle L.
•
Python tutor
1942 Views
See similar Python Mentoring tutors
Related Python Mentoring answers
All answers ▸
What's the difference between a local and a global variable?
What are docstrings and how do I use them to improve my code readability?
Write a Python script to take a product name as input and then automatically google search reviews for it and open the top 3 search results in different tabs
What are the main data structures that I can use in Python