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