Advertisement
Jure199

Untitled

Mar 28th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. def nepadajoca(s):
  2.     if len(s) in [0,1]:
  3.         return True
  4.     if s[0] <= s[1]:
  5.         return nepadajoca(s[1:])
  6.     return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement