English

State True or False. “Variable declaration is implicit in Python.” - Computer Science (Python)

Advertisements
Advertisements

Question

State True or False.

“Variable declaration is implicit in Python.”

Options

  • True

  • False

MCQ
True or False

Solution

This statement is True.

Explanation:

Assigning a value to a variable without specifying its type is called an implicit declaration.

Example:

  • x = 5
  • x = "five"

Python supports the implicit declaration of variables. So, the given statement is true.

shaalaa.com
Scope of a Variable
  Is there an error in this question or solution?
2022-2023 (March) Sample
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×