请写出导入tk库的代码

tk库测试

Quiz
•
Computers
•
University
•
Medium

昀浩 管
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
5 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
如果想要让tk显示弹窗消息 应该导入哪个库?
import tkinker.messagebox
import tkinker
import turtle
import random
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
创建一个名叫top界面的代码是
top=tkinter.Tk()
top.geometry("1000x1000")
top.title("玛客tk课程")
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
将创建的top界面大小设为500x500的代码是
top=tkinter.Tk()
top.geometry("500x500")
top.title("玛客tk课程")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
将创建的top界面标题改成玛客tk课程的代码是?
top=tkinter.Tk()
top.geometry("1000x1000")
top.title("玛客tk课程")
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
在tk中创建一个a标签所用的函数是?
a=tkinter.Label()
a=tkinter.Entry()
a=tkinter.Button()
a=tkinter.Radiobutton()
a.grid()
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
在tk中创建一个输入框a所用的函数是?
a=tkinter.Label()
a=tkinter.Entry()
a=tkinter.Button()
a=tkinter.Radiobutton()
a.grid()
Create a free account and access millions of resources
Similar Resources on Quizizz
18 questions
第四章 发布页面

Quiz
•
University
20 questions
GUI Design with TKinter

Quiz
•
University
17 questions
Ch7-電腦網路

Quiz
•
University
15 questions
國中小的運算思維

Quiz
•
University
20 questions
通信技术知识点测验

Quiz
•
KG - Professional Dev...
23 questions
第五章 添加和处理图像

Quiz
•
University
17 questions
生成式人工智能-實作1-文本生成

Quiz
•
8th Grade - University
15 questions
OS-CH4-Thread and Concurrency

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade