Tutorial

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.

Python - Comparison Operators

Python provides operators that can be used to compare values or values within variables. As as the name implies. Both `==` and `!=` are considered as Comparison operators.

An Intro to HTML <address> Tag

The semantic HTML <address> element indicates that the enclosed HTML provides contact information for a person or people or an organization of a document or an article representing document or an article.

Get Last Array Element in PHP and Laravel

This article, guide you through the retrieval of last array element in different ways in Laravel and also in PHP.

Links in Markdown

The Markdown language supports creating different types of links including internal & external. In this article you will see how to create different links as per your need. The text enclosed within `[]` and link within `()` to create link.

Create directories or folders in Linux with mkdir command

The `mkdir` command comes handy to make one or more directories aka folders in Linux system. This article shows the basic usage of mkdir command with examples.

List in Markdown

The Markdown language supports creating different types of list with different types of bullets. In this article we will see how to create ordered and unordered list as per need. Use `-` to create unordered list and `1` for ordered at the start of lines.

Create collection instance for given array in Laravel

This tutorial explains with syntax and an example of how to create a collection instance from provided array with Laravel collect() helper method in the framework.