赞
踩
#author@南方人啦 import tkinter as tk from tkinter import ttk win = tk.Tk() win['bg'] = 'teal' win.title('自助贩卖机') win.geometry('775x750') tk.Label(win, text='自助贩卖机', width=29,bg='black', fg='teal',font=('Arial', 20)).place(x=20, y=20) goods = ['矿泉水', '橙汁', '香烟', '纸巾', '早餐奶', '面包', '方便面', '口香糖'] price = [1, 3.5, 20, 2, 3, 4, 4.5, 3] xu_hao = [1, 2, 3, 4, 5, 6, 7, 8] # 你的钱 tk.Label(win, text='你有多少钱').place(x=540, y=100) # 你的钱输出框 Money = tk.Entry(win, bd=5, width=14) Money.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。