Python

Keywords in python

  • In python there are some reserved words called as keywords, These keywords are used for writing syntax and for some special purposes these are used for that particular purposes only.  and are not allowed to use as variable name ,identifier and function names.
  • One thing to note is that these key words are different from built in functions. Built in functions are not as restricted as keywords.
  • An example to demonstrate the difference between the built in function and keywords is you  can be able to assign something  to built-in function where as for keywords it is not possible. But assigning something to built in function is not good practice.
  • These keywords are case sensitive.
  • All these keywords except True , False and None are case sensitive.

The following is the list of keywords in python

andcontinuefinallyimportraise
asdefforlambdareturn
assertdelfromNoneTrue
asyncelifglobalnotTry
awaitelseinnormalWith
breakexceptiforWhile
classFalseispassYield
Lakshmi Durga

Share
Published by
Lakshmi Durga

Recent Posts

What are Template Tags in WordPress? How to Use Template Tags

In wordpress if you are developing new or custom wordpress theme or wordpress plugin then…

2 months ago

Google Search Indexing Issues Started on 31st January to February 2024

If you are experiencing indexing issues of your website then you are not alone and…

3 months ago

Create QR Code for Pages & Post using Plugin in WordPress

On your wordpress website if you want to generate qr code for pages and posts…

3 months ago

Add Google Search Console HTML File Upload on WordPress

If you are trying to verify your WordPress website with google search console with html…

3 months ago

How Do I Add Google Search Console Verification HTML Tag in WordPress?

If you are on wordpress website and wondering how to keep search console html verification…

3 months ago

Why WordPress Too Many Redirects After URL Change

If you are getting too many redirects error on your WordPress website after changing url…

3 months ago