How to Build a Simple Console Calculator in Python In this program, we will learn how create a basic console calculator in python to perform arithmetic operation of addition, subtraction, division and multiplication using if, elif, and else statement We wil…
Read moreHow to calculate the area of a Square in Python In this program, we will learn how to calculate the area of a square in python by user input. that is, we will ask the user to enter the length and height of the square to perform the calculation. But before th…
Read moreHow to calculate the area of a Triangle in Python In this program, we wiil learn how to calculate the area of a triangle in python by user input. that is, we will ask the user to enter the base and the height of the triangle to perform the calculation. The a…
Read moreHow to calculate the area of a circle in Python In this program, we will learn how to calculate the area of a circle in python by user input. that is, we will ask the user to enter the radius of the circle to perform the calculation. But before that, we fir…
Read moreHow to convert Kilometers to Miles and Miles to Kilometers In this program, we will learn how to convert kilometers to miles or miles to kilometers by taking input from the user. Before we take the input from the user let's see how to perform the convers…
Read moreHow to Check if a Number is Positive or Negative I n this program, we will learn how to check whether a number or an integer entered by a user is positive, negative or zero. We will use the if, elif and else statement to check the input. As we all know, any…
Read moreHow to check if a number entered by a user is an even or odd number In this python program, we will check if a number entered by user is an even number or an odd number. A number is even when it is divided by 2 with no reminder and a number is considered to…
Read more
Social Media