Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for y in cena:
- if not y in string.digits:
- print("Wprowadz prawidlowe dane: ")
- prawidlowe = False
- while not prawidlowe:
- cena = input("Podaj cene.")
- i = 0
- for z in cena:
- if z in string.digits:
- i += 1
- if i == len(cena):
- prawidlowe = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement