资源简介
根据自定义设置动态画有朵花
代码片段和文件信息
from tkinter import Tk Entry Button Label
import tkinter.messagebox
# 也可以是 from tkinter import *
import turtle
message_box_title = “Flower Drawer“
tk = Tk()
tk.title(“Flower Drawer“)
E = Entry(tk)
E.grid(row=0 column=0)
L = Label(tk text=“Flower Color“)
L.grid(row=0 column=1)
E1 = Entry(tk)
E1.grid(row=1 column=0)
L1 = Label(tk text=“Flower Size“)
L1.grid(row=1 column=1)
E2 = Entry(tk)
E2.grid(row=2 column=0)
L2 = Label(tk text=“Stem Color“)
L2.grid(row=2 column=1)
E3 = Entry(tk)
E3.grid(row=3 column=0)
L3 = Label(tk text=“Pen Size“)
L3.grid(row=3 column=1)
E4 = Entry(tk)
E4.grid(row=4 column=0)
L4 = Label(tk text=“Pen Speed“)
L4.grid(row=4 column=1)
def m
评论
共有 条评论