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

Expected Output
200
202
204
206
208
210
212
214
216
218
220
222
224
226
228
230
232
234
236
238
240
242
244
246
248
250
252
254
256
258
260
262
264
266
268
270
272
274
276
278
280
282
284
286
288
290
292
294
296
298
300

User RasikaSam
by
5.7k points

1 Answer

4 votes

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

print(x)

I hope this helps!

User Dbaer
by
5.3k points