Saturday, November 16, 2019

Python Keywords

Python Keywords


- Keywords are reserved word whose meaning is reserved by Python translator.
- Keywords cannot used as user defined words.
- Each keyword is a predefined instruction or command.
- Keywords are case sensitive.
- Up to Python 3.3 version support 33 keywords.

Example: 
True, False è Boolean values.
Null è reference value.


Keywords in Python programming languages:

False
class
finally
return
None
continue
for
lambda
True
Def
from
nonlocal
while
And
del
global
not
With
as
elif
if
Or
yield
assert
else
Import
pass
brcale
except
in
raise


Keyword related to function
def
lambda
return
yiald

 Keyword belongs control statement
if
else
break
continue
while
for

Keywords belongs exception handling 
finally
try
except
assest 
raise


Keywords belongs Values
True 
False
None

Keywords belongs to operator
from
is 
in
or
and
as
del

UDT(user defined datatype)
Class

No comments:

Post a Comment