Browsing tag

Python language

Python program: find smallest of three numbers using the function

Python program: find smallest of three numbers using the function In this tutorial, we will discuss the concept of the Python program: find smallest of three numbers using the function In this post, we will learn how to find the smallest number of three numbers using a user-defined function in the Python programming language In…

Python program:find greatest of three numbers using function

Python program:find the greatest of three numbers using the function In this tutorial, we will discuss the concept of the Python program:find the greatest of three numbers using the function In this post, we will learn how to find the greatest number of three numbers using a user-defined function in the Python programming language In…

Program to display even and odd numbers without if

program to display even and odd numbers without if In this program, we will discuss the concept of program to display even and odd numbers without if statement in Python In this post, we are going to learn how to display even and odd numbers without using if statement in Python programming language.   First, we…

Calculate electricity power:Python program using function

Calculate Electricity power: Python program using function In this tutorial, we will discuss the Calculate Electricity power: Python program using the function In this article, we will discuss how to calculate monthly  electricity bill using the function in the Python  programming language We can calculate monthly electric power usage in many approaches in Python language…

Write a Python program to print an integer

Write a Python program to print an integer In this tutorial, we will discuss a simple concept of Write a Python program to print an integer In this post, we are going to learn about how to print a integer number entered by user in C programming language Program 1 #Python program to print an…

Python program to Addition subtraction,multiplication ,division

Python program to Addition subtraction, multiplication, division In this tutorial, we will discuss the Python program to Addition subtraction, multiplication, division In this post, we will learn about how to perform addition, subtraction multiplication, division of any two numbers  using if else statements in Python programming The  program will request the user to enter two…

Python program to check a number is even or odd using function

Python program to check a number is even or odd using function In this tutorial, we will discuss the Python program to check a number is even or odd using the function In this program, we are going to learn about how to find the odd or even number from given number using function in…

Python program find factorial of a number using recursion

Python program find factorial of a number using recursion In this tutorial, we will discuss Python program find factorial of a number using recursion. Factorial is a product of all positive descending integer begins with a specified number (n) and calculates up to one   Factorial is not defined for negative numbers Factorial of zero(0)…

Find Factorial:Python program to using function

Python program to find factorial using function In this tutorial, we will discuss the Python program to find factorial using function In this program, we are going to learn about how to find  factorial using  the function in Python language Factorial is a product of all positive descending integer begins with a specified number (n) and…

Python program to check whether a number is even or odd

Python program to check whether a number is even or odd In this tutorial, we will discuss the Python program to check whether a number is even or odd. In this program, we are going to learn about how to find  odd or even number from given number using if else statements in Python programming…