Beginner Python
Q2 / 101

What is the correct way to declare a variable in Python?

Correct! Well done.

Incorrect.

The correct answer is D) x = 5

D

Correct Answer

x = 5

Explanation

Python uses dynamic typing — you simply assign a value. No type keyword or declaration is required.

Progress
2/101