CodeNewbie Community

Discussion on: How do I create a variable in Python?

Collapse
preshh0 profile image
Your .py Princess!

You just use:

variable_name = 'Name', for strings
variable_name = 1, for numbers. Those one don't carry quotes.