nasze_dane = ( 23, 44, 55, 44, 34, 76, 87) for element in nasze_dane: if type(element) is str: break wynik = round(element / 6,3) print(f"Wynik dzielenia to {wynik}") else: print("Wszystko ok") ## nasze_dane = ( 23, 44, 55, 44,"A", 34, 76, 87) for element in nasze_dane: if type(element) is str: continue wynik = element / 6 print(f"Wynik dzielenia to {wynik}") else: print("Wszystko ok, nawet gdy continue")