a = 1 b= 0 while a<5: if a % 2 != 0 and a<5: b+= 1 print(a) if b == 3: print("конец") break a = a + 2 else: print("fdgdgfdgdfgfdg")