top of page
Writer's pictureRajesh Singh

What is Python Identifiers?

Updated: May 18, 2020


Variable name is known as identifier. For exam the integer type of variable that has the value 20. Then name of the variable, which is num is called identifier.


Example

In the following example there are three variables like num, _a and b_c are the identifiers.

num = 10

print(num)

_a = 100

print(_a)

b_c = 99

print(b_c)


Output:

10

100

99



4 views0 comments

Recent Posts

See All

For Loop MCQs in Python

Q1. What is the output of the following Python code? x={1:"X",2:"Y",3:"Z"} for i,j in x.items():     print(i,j,end=" ") A.    1 X 2 Y 3 Z...

Comments


bottom of page