Expalin about identifiers with example in python

explain in brief regarding identifiers

2 Likes

Identifiers are user defined names given to a variable, function, class, module.
e.g: Fibonacci_num = 5 or def fibonacci or class fibonacci.

They are case sensitive.
e,g: fibonacci, Fibonacci , FIBOnacci these are 3 different identifiers.

Identifiers should be given a appropriate naming according to there use case.

Some valid identifiers:
num
num_
num_1
__num
_1_num

1 Like