Pankaj Kumar

Pankaj Kumar

I have been working on Python programming for more than 12 years. At AskPython, I share my learning on Python with other fellow developers.

Python Course – while loop

In Python while loop is used when a certain block is to be executed until the condition in while statement is true. A loop become infinite if the condition never becomes false.

Python Course – if-else statement

In Python decisions are made with if statements also called as selection statement. The if block statements are executed if the conditions are ‘true’. In case of false condition, the else block is executed.

Python Course – and statement

Python “and” statement work on logical factors and is also a part of Boolean Algebra. Python and is a logical operator, and is used to combine conditional statements and gives the output in true or false.