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 Data Types

Python Data Types

A Python variable can refer to values of different types, and you may need to check one before using it. A data type identifies the class of a value and the operations that class supports. I’ll explain what Python data…

Python continue Statement

Python continue Statement

A while loop may need to skip one value and still check its condition again for the next iteration. The Python continue statement skips the rest of the current iteration and moves to the next one. I’ll show how to…

Python break Statement

Python break Statement

When a loop has reached the point where it should stop, you need a way to end it before it checks more items or repeats again. Python’s break statement ends the for or while loop that contains it. I’ll show…

Python Hello World Program

Python Hello World Program

Starting with Python often means checking whether a short program can display a message. A Python Hello World program uses print() to display the text Hello World. This article gives you the code and shows how to run it from…