Commit 0912c2ab by BellCodeEditor

save project

parent 3dfc4cb4
Showing with 25 additions and 9 deletions
import tkinter
root=tkinter.Tk()
root.title("注册")
root.geometry("400x320+500+300")
e1=tkinter.Entry(root,show=None,font=('宋体',14),bg="light grey",width=18)
e1.place(x=140,y=80)
e2=tkinter.Entry(root,show='*', font=('宋体',14),bwidth=18)
e2.place(x=140,y=140)
e3=tkinter.Entry(root,show='*', font=('宋体',14),bwidth=18)
e3.place(x=140,y=200)
lad=tkinter.Label(root, text='请填写注册信息'font=('宋体', 15))
root.mainloop()
\ No newline at end of file
# 勇于挑战的创造师,下面的代码犯了三类典型错误,请你把bug揪出来吧。 import tkiner
score = {'悟空语文':95,'悟空数学':88,'悟空英语':85,'悟空美术':97}
# 打印出悟空语文成绩 root=tkiner.Tk()
print(sore['悟空语文']) root.title("注册")
# 打印出悟空的美术成绩
print(score[97]) root.mainloop()
# 打印出悟空英语成绩: \ No newline at end of file
print('悟空英语成绩是'+score['悟空英语']+'分!')
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment