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.
5.7m questions
7.4m answers