LIMITATIONS TO USE VARIABLES IN PYTHON

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:

WordPress.com Logo

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

Google photo

You are commenting using your Google 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