Tutorial

Dart - Comments

The comments are notes that developers can add in source code and are ignored by compilers. It’s an art of describing what your code does and may be why. These comments are not evaluated.

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.

Get Dart Version via Command Line

This article, guide you through the retrieval of Dart version via command line.

Dart - Semicolons

Semicolons in Dart are mandatory. The semicolon acts as statements terminator. That is every statement must be ended with a semicolon(;). Dart also allows multiple statements in a single line, exception that every statement must be ended by a semicolon(;).

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.

Python - Ternary Operator

The ternary operator is a shorter version of an if...else expression. It allows us to execute an expression if a condition is satisfied and another expression if the condition is not satisfied.

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.

Get Python Version via Command Line

This article, guide you through the retrieval of Python version via command line.

Find the length of a string using len() function in Python

In this article, we explain a way to find length of a string using built-in len() function, for e.g, length of "Earth is a beautiful planet in Solar System" is 43 (including space).

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!

PHP - Ternary Operator

The ternary operator is a shorter version of an if...else expression. It allows us to execute an expression if a condition is satisfied and another expression if the condition is not satisfied.