Flow controls: Loops · 20 / 26 Exercise Medium

Multiples numbers

Objective

Create a Python program that displays numbers from 1 to 500 that are multiples of both 3 and 5.

Output
15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255 270 285 300 315 330 345 360 375 390 405 420 435 450 465 480 495

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise