Question

6. Write a python program containing the list below. Use a loop to iterate through the list and display numbers divisible by 5 and if you find a number greater than 150, stop the loop iteration. List - [12,15,32,42,55,75,122,132,150,180,200] Expected output: 15 55 75 158

Fig: 1