Question #226153

You are given N inputs. Print the given inputs until you encounter a multiple of 5


Expert's answer

N=int(input())
i=1
while (i<=N):
    if(i%5==0):
        break
    print(i)
    i=i+1

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS