Certified Professional in Python Programming (PCPP-32-101) — Question 36

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

Answer options

Correct answer: C

Explanation

The messagebox.askquestion() method is designed to return the strings "yes" or "no" based on user input. Options A, B, and D do not correspond to the expected output of this method, making them incorrect.