Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input("Podaj liczbę: "))
- max = a
- min = a
- while a != 0:
- if a > max:
- max = a
- if a < max:
- min = a
- a = int(input("Podaj liczbę: "))
- print("Największą liczbą jest: " + str(max) + "\nNajmniejszą liczbą jest: " + str(min))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement