You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Funkcja to_binary(n: int) powinna konwertować liczby naturalne od 0 do 100 na binarne (typ str). Dla wartości spoza zakresu (n < 0 lub n > 100) lub nienaturalnych (np. float, str) powinien zostać zgłoszony wyjątek.