BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCPP-32-101 Topic 1 Question 6 Discussion

Actual exam question for Python Institute's PCPP-32-101 exam
Question #: 6
Topic #: 1
[All PCPP-32-101 Questions]

Which of the following values can be returned by the messagebox. askquestion () method?

Show Suggested Answer Hide Answer
Suggested Answer: C

Themessagebox.askquestion()method in Python's tkinter library displays a message box with a specified question and two response buttons labeled 'Yes' and 'No'. It returns a string indicating which button was selected - either 'yes' or 'no'.

This function is used to ask questions to the user that have only two options: YES or NO.It can be used to ask the user if they want to continue or if they want to submit something1.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel