Author: Garvit Parakh

The Simplest way to Check if Any Number is Even or Odd

We will learn how to check if any given number is even or odd using different techniques, using the subtraction method and using the modulo operator method.

Python Program to Print Output in the Same Line

We will discuss different programs on how to print output in one line without using a new line in Python 2, Python 3(or without moving to a new

The Simplest Python Program to Convert Celcius to Fahrenheit

In this article, we will discuss how to convert the temperature from degree Celsius to degree Fahrenheit in Python using two different ways.

The Easiest Way to Solve Quadratic Equation using Python

We will learn how to solve any quadratic equation using Python program implementation. We have implemented and discussed using quadratic formula and math module

Python Program to Calculate The Area of The Triangle

In this article, we will talk about how to find the area of the triangle using Heron's formula and also the area of any right-angled triangle.

Multiple ways to Swap two Variables in Python

In this article, we will discuss how to swap two numbers in python using different ways. By using the third variable, bitwise operator, mathematic operator etc

Python Program – How to Find the Square Root of Any Number?

In this Python example series, we will cover the program to find the square root of any given number 1. What is Square Root of a Number? Square

Python Program to Convert Kilometres into Miles – The Simplest way

We will discuss how can we convert given kilometers into miles using Python. We have used simple input-output operations, function and arithmetic operations

Python Program to Add Two Numbers in Multiple Ways

In this Python article, we will cover the program to add two numbers in Python. 1. How to Add 2 Numbers in Python? We use arithmetic operators for

The Easiest way to Generate Random Numbers

In this Python example, we have discussed different programs for generating random numbers in Python using random, choice, randrange and seed functions.