
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
请写出导入tk库的代码
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 Wayground
18 questions
第一章 认识HTML

Quiz
•
University
21 questions
第十章 div和span

Quiz
•
University
20 questions
第十三章 表格与列表

Quiz
•
University
15 questions
软件工程 - 作业 5

Quiz
•
University
20 questions
TKinter GUIs

Quiz
•
University
25 questions
网络安全应急响应

Quiz
•
University
18 questions
Repaso Teórico Python

Quiz
•
8th Grade - University
23 questions
ERP 系統與供應鏈管理測驗

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade