Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def nepadajoca(s):
- if len(s) in [0,1]:
- return True
- if s[0] <= s[1]:
- return nepadajoca(s[1:])
- return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement