You're not adding your temperature to the total so total will always be 0. Do something like this:
total += float(input("Enter Temperature: "))
You can directly add the user entered value without creating an extra variable.
7.6m questions
10.2m answers