Advertisement
gorskaja2019

example 3

Apr 3rd, 2019
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. from tkinter import *
  2.  
  3. root = Tk()
  4.  
  5. symbols = [u'\u2702', u'\u2702', u'\u2705', u'\u2705', u'\u2708', u'\u2708', u'\u2709',u'\u2709',
  6. u'\u2716',u'\u2716',u'\u2714',u'\u2714',u'\u2728',u'\u2728',u'\u270A',u'\u270A',u'\u270B',
  7. u'\u270B',u'\u270C',u'\u270C',u'\u270F',u'\u270F',u'\u2712',u'\u2712',]
  8.  
  9. for x in range(6):
  10. for y in range(4):
  11. button = Button(font = 'Verdana 24', width = 3)
  12. button.grid(column = x, row = y, padx = 5, pady = 5)
  13.  
  14. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement