Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 27)
27.
What is the correct way to declare a variable?
var x = 5
int x = 5
x = 5
variable x = 5
Answer: Option
Explanation:
In Python, variables can be declared simply by assigning a value to them. No explicit type declaration is needed.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.