4.9 Code Practice: Question 4

Answer:
sum = 0
r = 0
while r < 10:
p = float(input("Enter Temperature: "))
sum += p
r += 1
print("Sum = " + str(sum))
Explanation:
You can change the variables if you like.
In this exercise we have to use the knowledge of computational language in python to write the code.
This code can be found in the attached image.
To make it simpler the code is described as:
sum = 0
r = 0
while r < 10:
p = float(input("Enter Temperature: "))
sum += p
r += 1
print("Sum = " + str(sum))
See more about python at brainly.com/question/22841107