write a program to obtain temperature of seven days & then display average temperature of the week
Answers
Answered by
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
English,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
1 month ago
English,
3 months ago
English,
9 months ago