nerdexam
Python_Institute

PCPP-32-101 · Question #72

The initial value of the StringVar() variable is:

The correct answer is A. "". A StringVar() in Tkinter is initialized with an empty string "" by default.

Advanced OOP

Question

The initial value of the StringVar() variable is:

Options

  • A""
  • BNone
  • C" "
  • Drandom

How the community answered

(58 responses)
  • A
    95% (55)
  • B
    3% (2)
  • C
    2% (1)

Explanation

A StringVar() in Tkinter is initialized with an empty string "" by default.

Topics

#tkinter#StringVar#variable types#widget variables

Community Discussion

No community discussion yet for this question.

Full PCPP-32-101 Practice