2 odpowiedzi
+ 2
while, continue and break in just one program
This program will print only odd numbers and break point should be 25
i = 0
while True:
i = int(input())
if i % 2 == 0:
continue
if i % 25 == 0:
break
print (i)
0
Thank you for your response. This is a great help.