Computer Science, asked by ekka7400, 3 months ago

write a program to obtain temperature of seven days & then display average temperature of the week​

Answers

Answered by akshitakhms20120116
1

Answer:

read it full

Explanation:

a = int(input("enter the 1st day temperature  = "))

b = int(input("enter the 2nd day temperature = "))

c = int(input("enter the 3rd day temperature = "))

d = int(input("enter the 4th day temperature = "))

e = int(input("enter the 5th day temperature = "))

f = int(input("enter the 6th day temperature = "))

g = int(input("enter the 7th day temperature = "))

average = (a + b+ c + d +e + f + g )/7

print("average of temperature = ",average ,"C")

Similar questions