Guest User

Untitled

a guest
Jan 21st, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # -*- coding: utf-8 -*-
  2.  
  3. while True:
  4. luku = raw_input("Anna luonnollinen luku: ")
  5.  
  6. if luku.isdigit() == True:
  7. break
  8. else:
  9. print "Et antanut luonnollista lukua."
Add Comment
Please, Sign In to add comment