x=[25,2,5,58,8,99,4]
y=5
for i in x:
if (i%2==5 or i%3==0 or i%4==2):
print(i+y,end='-o-')
else:
print(i-y)
Answers
Answered by
1
Answer:
x=[25,2,5,58,8,99,4]
y=5
for i in x:
if (i%2==5 or i%3==0 or i%4==2):
print(i+y,end='-o-')
else:
print(i-y)
Similar questions