Python Try Block
The python try block is part of python exception handling mechanism. The try block is similar to an if-then-else block. If an error occurs the… Read More »Python Try Block
The python try block is part of python exception handling mechanism. The try block is similar to an if-then-else block. If an error occurs the… Read More »Python Try Block
In computer programs, some kind of errors are expected. We can simply read those errors and fix the problem. But some errors are bound to… Read More »Error Handling Overview
In earlier articles about function, we have used parameters and those parameters are replaced with some arguments when a function call takes place. In this… Read More »Python Keyword Parameters
In the previous articles, you have seen various types of functions. Function either return a value or nothing. In this article, you will learn about… Read More »Python Function Return NoneType
While writing a python function and using it in your program, you get lot of errors such typing wrong name of the function, changing the… Read More »Python Functions Common Errors
Python programming allows function to take some parameters and compute them and return a value. This is very efficient method of programming when it clearly… Read More »Python Functions With Parameters and Return
In the previous example, you have seen that python can take no parameter and return some value. In this example, you will learn that a… Read More »Python Function With Parameters, No Return
In this article, you will learn about functions that does not take any parameters, but does return a value. The returned value can be used… Read More »Python Function With No Parameters, With Return
In the last article, we have seen how a user-defined function is created. The user-defined function has two parts – the function definition and the… Read More »Python Function With No Parameter, No Return
So far we have seen many programs which ran sequentially, means executed the lines of codes in a linear manner. We have also seen blocks… Read More »Python Functions