# Python program that inputs three different integers from the keyboard, and then prints the sum, the average, the product, the smallest, and the largest of these numbers.

Here is the code for a python program that inputs three different integers from the keyboard, and then prints the sum, the average, the product, the smallest, and the largest of these numbers.

```# Python program that inputs three different integers from the keyboard, and then prints the sum, the average, the product, the smallest, and the largest of these numbers.

firstNumber = int(input("Enter first number: "))
secondNumber = int(input("Enter second number: "))
thirdNumber = int(input("Enter third number: "))

print("Sum =", firstNumber + secondNumber + thirdNumber)
print("Average =", (firstNumber + secondNumber + thirdNumber) / 3)
print("Product =", firstNumber * secondNumber * thirdNumber)

max = firstNumber
if secondNumber > firstNumber:
max = secondNumber
if thirdNumber > secondNumber:
max = thirdNumber
print("Maximum =", max)

min = firstNumber
if secondNumber < firstNumber:
min = secondNumber
if thirdNumber < secondNumber:
min = thirdNumber
print("Minimum =", min)

# This code is contributed by Ahmad Shafiq
``` ## Love this read? Subscribe to Modernage!

Do you have any queries? You can ask in the comments. We, at Modernage answer each and every question, asked in the comments, so If you have any queries, or you want to know about any specific platform you can ask in the comments below

## Author

### This Post Has 2 Comments

1. Ayesha

Thank you

1.  ## More Articles.  ### Ask the user to print two numbers ‘x’ and ‘y’ then print out the number ‘x’ raised to power ‘y’.

Here is the code:  ### Python program to find the factorial of a number using while loop and for loop.

Here is code for python program to find the factorial of a number using while loop and for loop.  ### Python program to calculate the area and circumference of the circle.

Here is a python program to find the area of the circle and circumference of the circle. Contents Area of circle Circumference of circle

## Python

### Python program to estimate the value of mathematical constant ‘e’ according to the formula 1 + 1/1! + 1/2! +1/3! + 1/4! ….. 1/n! ## More Articles.  ### 7 Proven ways How to make money with cryptocurrency 

The process of making money from cryptocurrency in 2022  ### What is Blockchain: A beginners guide to blockchain

With the technology evolving more than ever, we have  