Vidyalelo
Python · Q8

GUI Programming with Python

Programming · Python · question 8

Q8

What is the purpose of the pack() method in Tkinter?

A.
To close the window
B.
To arrange widgets vertically
Answer
C.
To apply styles to widgets
D.
To handle user input

Answer: Option B

Solution

Answer: Option B
Solution:
The pack() method arranges widgets vertically within their container.