WAP to take the temperatures of all 7 days of the week and displays the average temperature of that week.
In python
Answers
Answered by
5
Answer:
m=int(input(“enter the first value “))
t=int(input(“enter the second value”))
w=int(input(“enter the third value”))
th=int(input(“enter the third value”))
f=int(input(“enter the third value”))
s=int(input(“enter the third value”))
su=int(input(“enter the third value”))
av_temp=(m+t+w+th+f+s+su)/7
print(av_temp)
Explanation:
pls follow me
Answered by
112
m=int(input(“enter the first value “))
t=int(input(“enter the second value”))
w=int(input(“enter the third value”))
th=int(input(“enter the third value”))
f=int(input(“enter the third value”))
s=int(input(“enter the third value”))
su=int(input(“enter the third value”))
av_temp=(m+t+w+th+f+s+su)/7
print(av_temp)
Similar questions