Program to get the Average of given numbers.

In this python basic program, we will get the Average of given numbers.

Steps to solve the program
  1. Take three numbers as input.
  2. The average is calculated by adding the numbers divided by the total numbers (i.e a+b+c/3).
  3. Print the output.
				
					a = 40
b = 50
c = 30
print("Average: ",(a+b+c)/3)
				
			

Output :

				
					Average:  40.0
				
			

repeat a given string 5 times.

get the median of given numbers.

Leave a Comment