Computer Science, asked by amishafilomeena1003, 8 months ago

As you know that ‘class’ is a keyword in Python and keywords cannot be

used as a variable but in the following code it is accepting it as a variable.

What is the reason for this?​

Answers

Answered by Anonymous
1

♥Keywords are the reserved words in Python. We cannot use a keyword as a variable name, function name or any other identifier. They are used to define the syntax and structure of the Python language. In Python, keywords are case sensitive.

.....

Similar questions