- 博客(3)
- 收藏
- 关注
原创 模拟超市存包代码
global countglobal ncount = 100n = 0import randomclass Store: def __init__(self): self.db = {} self.list1 = [] self.count = count self.n = n def cunbao(...
2019-01-12 22:25:22
675
原创 简易五子棋单机版(tkinter)
from tkinter import *window = Tk()#画棋盘canvas = Canvas(window, bg = "Khaki", width = 480, height = 480)canvas.grid(row = 0, column = 0, rowspan = 10)#画线条for i in range(15): canvas.create_li...
2019-01-12 22:08:46
1151
原创 简易五子棋单机版
from tkinter import *window = Tk()#画棋盘canvas = Canvas(window, bg = “Khaki”, width = 480, height = 480)canvas.grid(row = 0, column = 0, rowspan = 10)#画线条for i in range(15):canvas.create_line(30,...
2019-01-12 21:53:15
720
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人