皮皮学,免费搜题
登录
搜题
【简答题】
以下代码是设计登录界面,登录成果显示欢迎界面,登录失败显示对不起,你的用户名或者密码错误,请用户在相应位置填写代码。 import _____(1)________ as tk def Login(): name=_______(2)________ pwd=ePwd.get() if name=="why" and pwd=="12345": frm1.destroy() frm2.destroy() frm3.destroy() tk.Label(root,text="欢迎用户登录").pack() else: frm1.destroy() frm2.destroy() frm3.destroy() tk.Label(root,text="登录失败").pack() root=tk.Tk() root.title("我的窗口") root.geometry("400x100+300+300") frm1=tk.Frame(root) frm2=tk.Frame(root) frm3=tk.Frame(root) ____(3)__________ ____(4)__________ ____(5)__________ lbl1=tk.Label(frm1,text="用户名:") eName=tk.Entry(frm1,textvariable=____(6)______) lbl1.pack(side=tk.LEFT) eName.pack(side=tk.LEFT) lbl2=tk.Label(frm2,text="密 码:") ePwd=tk.Entry(frm2,textvariable=tk.StringVar(),show="*") lbl2.pack(side=tk.LEFT) ePwd.pack(side=tk.LEFT) btn=tk.Button(frm3,text="登录",command=Login) btn.bind(" ",Login) btn.pack() root.mainloop()
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【单选题】要求设置三道或三道以上防水的屋面防水等级是
A.
B.
C.
D.
【简答题】听力原文:By the year 2000, the population of the developing world living in areas had risen to about 46% and it is estimated to reach more than 57% by the year 2025. (55)
【单选题】要求设置三道或三道以上防水的屋面防水等级是 ( )。
A.
IV
B.
C.
D.
I
【单选题】The passage mainly tells us that ______.
A.
the increase of human population leads to more destruction of the natural world
B.
the decrease of animal population results from the dwindling biodiversity in the natural world
C.
the planet's biodiversity is also related to the number of households
D.
the planet's biodiversity relies on the balanced increase of larger and smaller households
【单选题】The population growth rate in the US is______.
A.
higher than that in India
B.
lower than that in Mexico
C.
higher than that in Indonesia
D.
lower than that in South America
【单选题】The US government will take measures to reduce the overall population risk.
A.
Right
B.
Wrong
C.
Not mentioned
【单选题】要求设置三道或三道以上防水的屋面防水等级是( )
A.
I
B.
II
C.
III
D.
IV
【单选题】The US population in the 1970s is ______ largest of the world.
A.
the first
B.
the second
C.
the third
D.
the fourth
【单选题】In the poorest nations of the world, more than half of the population ______ on farms.
A.
have lived
B.
live
C.
are living
D.
lives
【简答题】在繁殖制种期,种鸽的公母比例为____;一对种鸽正常产蛋,一窝产____枚。
相关题目: