Computer Science, asked by sadhnapandey475, 6 months ago


Write a program that displays all the numbers from 150 to 250 that are divisible by 5 or 6, but not both.​

Answers

Answered by abhinabkashyap23
0

Answer:

yes maybe you could please get back 4hyrururuuj

hd video call join video has recently reviewed your response regarding reply regarding the right thing that you

Answered by mrnisheet2606
0

Answer In Python:

num_list = list()

for i in range(150,251):

     if i%5==0 or i%6==0:

            num_list.append(i)

print(''.join(num_list))

Similar questions