Share your repls and programming experiences

← Back to all posts
variables test 1
pundirwish (0)

what are variables -
A variable can have a short name (like x and y) or a more descriptive name (age, car name​, total_volume). Rules for Python variables:
like -
x = "wish"

is the same as

x = 'wish'
A variable name must start with a letter or the underscore character
A variable name cannot start with a number
A variable name can only contain alpha-numeric characters and underscores (A-z, 0-9, and _ )
Variable names are case-sensitive (age, Age,​ and AGE are three different variables)