When you create a variable , the following rules or protocols should be used,

Python variables must begin with letter (uppercase or lowercase letter) or an underscore _ character

Variables contain letters, numbers or underscore characters but cant begin with number

Python variables are case sensitive , so ‘test’ and ‘Test’ are considered as different variables

Variables are assigned when they are first attached to a value ‘=’ sign.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s