Keywords in python – A list of python keywords and their functions

In this article let us see a list of keywords in python and also the specific functions of each keyword. What are keywords? Keywords are the reserved words in Python. We cannot use a keyword as a variable name, function name, or any other identifier. They are used to define the syntax and structure of the Python language. keywords […]

Read More

Pass, break and continue in python

Pass Whenever we use any loops in python, try except statements or functions, it expects something to be on the next line. This is the general syntax of statements like these. Nothing happens when pass is executed. Its main purpose is to act as a placeholder where the interpreter expects a statement. Remember a colon-separated compound statements needs a header and a […]

Read More

Try/Except in python – Exception handling in python

When we start out programming our scripts are simple and straightforward and, most importantly, we tend to assume a perfect operating environment. Every variable will always exist and the data will be properly formed. If only the real world were so reliable! The truth is that if something can fail, it will. Being prepared for […]

Read More