Advertisement
Sax

Bloques Wordzap - SistAda

Sax
Mar 5th, 2012
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. import random
  2.  
  3. class bloque (object):
  4.     def __init__ (self, letter):
  5.         label = letter
  6.         bind = letter
  7.  
  8. alfabeto = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
  9.  
  10. chosen = []
  11.  
  12. for i in range(9):
  13.     chosen.append(alfabeto[random.randint(0,len(alfabeto))])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement