Keywords and Identifiers in Python
Python Keywords
Well simply, Python keywords are the words that are reserved. That means you ca n’t use them as name of any realities like variables, classes and functions.So you might be allowing what are these keywords for. They're for defining the syntax and structures of Identifiers in Python language.
You should know there are 33 keywords in Python programming language as of writing this tutorial. Although the number can vary by course of time. Also keywords in Python is case sensitive. So they're to be written as it is. Then's a list of all keywords in python programming.
You should know there are 33 keywords in Python programming language as of writing this tutorial. Although the number can vary by course of time. Also keywords in Python is case sensitive. So they're to be written as it is. Then's a list of all keywords in python programming.
List of All Python Keywords
What Is Python Identifiers?
Python Identifier is the name we give to identify a variable, function, class, module or other object. That means whenever we want to give an reality a name, that’s called identifier.
Occasionally variable and identifier are frequently misknew as same but they're not. Well for clarity, let’s see what's a variable?
.
What's a Variable in Python?
A variable, as the name indicates is commodity whose value is changeable over time. In fact a variable is a memory position where a value can be stored. Latterly we can recoup the value to use. But for doing it we need to give a surname to that memory position so that we can relate to it. That’s identifier, the surname.
Rules for Writing Identifiers
There are some rules for writing Identifiers. But first you must know Python is case sensitive. That means Name and name are two different identifiers in Python. Then are some rules for writing Identifiers in python.
InsideAIML is the plstform where you can learn Python Deeply and more related about AI.
Comments
Post a Comment