Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- root = Tk()
- symbols = [u'\u2702', u'\u2702', u'\u2705', u'\u2705', u'\u2708', u'\u2708', u'\u2709',u'\u2709',
- u'\u2716',u'\u2716',u'\u2714',u'\u2714',u'\u2728',u'\u2728',u'\u270A',u'\u270A',u'\u270B',
- u'\u270B',u'\u270C',u'\u270C',u'\u270F',u'\u270F',u'\u2712',u'\u2712',]
- for x in range(6):
- for y in range(4):
- button = Button(font = 'Verdana 24', width = 3)
- button.grid(column = x, row = y, padx = 5, pady = 5)
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement