Advertisement
Andreas_M

Untitled

Oct 24th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def characters(c):
  2.     c = ord(c)
  3.     if c > 97:
  4.         print chr(c)
  5.         characters(chr(c-1))
  6.     print chr(c)
  7.    
  8. characters("g")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement