filmov
tv
Python Identifiers and Reserved Words / Keywords with Examples
Показать описание
An identifier is a name of a variable or function. Identifiers may contain letters, underscores, or digits (cannot start with a digit)
Python is case-sensitive.Variables are commonly written in lower-case, with words separated by an underscore.
Reserved words that are part of the Python language and cannot be used as variables. You can see the list of reserved keywords in python by running the following line of code: help(“keywords”)
Here is a list of the Python keywords.
False break for not
None class from or
True continue global pass
__peg_parser__ def if raise
and del import return
as elif in try
assert else is while
async except lambda with
await finally nonlocal yield
Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!
Python is case-sensitive.Variables are commonly written in lower-case, with words separated by an underscore.
Reserved words that are part of the Python language and cannot be used as variables. You can see the list of reserved keywords in python by running the following line of code: help(“keywords”)
Here is a list of the Python keywords.
False break for not
None class from or
True continue global pass
__peg_parser__ def if raise
and del import return
as elif in try
assert else is while
async except lambda with
await finally nonlocal yield
Subscribe to Appficial for more programming videos coming soon. Also, don't forget to click LIKE and comment on the video if it helped you out!