A Way For Learning

Keywords in Python

No comments

Keywords in Python:
Every programming language has a set of predefined words that are used for a specific functionality,these words are called Keywords.
If we use these words as variables in the program,there will be an error.
Keywords are also know as RESERVED words. They have a specific function and should be used for that purpose only.
The following is the list of keywords in Python:
>and
>as
>assert
>break
>class
>continue
>def
>del
>elif
>else
>except
>exec
>finally
>for
>from
>global
>if
>import
>in
>is
>lambda
>not
>or
>pass
>print
>raise
>return
>try
>while
>with
>yiel

No comments :

Post a Comment