Programming Example

Display the multiplication table in Python

In this article, we'll see a program or source to display multiplication table in Python programming language using loop and `range()` function.

Generate a Random number in Python

In this article, we'll see how to generate random number in Python programming language.

How to check if a variable is an integer in Python

In this article, we'll see different ways to check if a variable is an integer. Using `type()` function and `isinstance()` function.

Swapping Variable Values in Python

In this article, we'll see different ways to swap variables including shorter single line way. Swapping variable values also referred as swapping variables.

Pattern programs in Java

In this article we will see different patterns that can be printed using loops in JAVA.

Program to Print Hello, World! in Python

To display text on our screen, we will use built-in function print(). It will print back arguments provided in the function. In this article we’ll how to write a program to displays “Hello, World!