132k views
5 votes
Write a for loop to print all the even numbers from 200 to 300.

Write a for loop to print all the even numbers from 200 to 300.-example-1
User Kalyan
by
5.0k points

1 Answer

2 votes

for x in range(200,301,2):

print(x)

I hope this helps!

User Steve Hanov
by
4.8k points