Advertisement
juaniisuar

asd

Sep 8th, 2016
398
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. from __future__ import print_function
  2. from PIL import Image
  3.  
  4. def main():
  5. a=[105, 10, 16, 101, 103, 14, 105, 16, 121]
  6. for i in a:
  7. print( chr((i%26)+ord('a')) )
  8. """im = Image.open("/home/alumno/Escritorio/datboi/oxygen.png")
  9. pix = im.load()
  10. j = int(im.size[1]/2)
  11. a = pix[0,j][0]
  12. print (chr(a), end='')
  13. for i in range(im.size[0]):
  14. if(pix[i,j][0] != a):
  15. print (chr(pix[i,j][0]), end='')
  16. a = pix[i,j][0]"""
  17.  
  18.  
  19.  
  20. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement