Guest User

Untitled

a guest
Jan 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. vstup = input()
  4. if vstup == '0':
  5. print("Nulou sa deliť nedá")
  6. elif vstup.isnumeric():
  7. print(5 / int(vstup))
  8. else:
  9. print("Toto nie je číslo")
Add Comment
Please, Sign In to add comment