Write the Python programs for the following
a. To print all even numbers from 2 to 50 using while loop
Answers
Answered by
1
Answer:
Answer Is Below
Explanation:
i = 0
while i <= 48:
i += 2
print(i) # or 'print i' if you are using Python 2
Similar questions