KnowledgeBoat Logo
|

Computer Science

Default variable initialization is string literal.

Python Funda

2 Likes

Answer

False

Reason — In Python, variables are not initialized with any default values or types. The type of a variable is determined by the value assigned to it, and Python does not default to initializing variables as string literals. Instead, we must explicitly assign a value to a variable, whether it's a string, integer, or any other data type.

Answered By

2 Likes


Related Questions