![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 05.02.2020 21:42 MaeWolfe
Given a variable temps that refers to a list, all of whose elements refer to values of type float , representing temperature data, compute the average temperature and assign it to a variable named avg_temp . besides temps and avg_temp , you may use two othervariables -- k and total .
my solution below didn't work. i wonder how to go about this problem.
temps = []
avg_temp = 0.0
total = 0.0
for k in range(temps):
total += k
avg_temp = total/len(temps)
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 04:00
When you collaborate or meet with a person or group online, it is called
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 13:30
Font size, font style, and are all aspects of character formatting.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 1
You know the right answer?
Given a variable temps that refers to a list, all of whose elements refer to values of type float ,...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 31.08.2021 15:40
![question](/tpl/images/cats/biologiya.png)
Biology, 31.08.2021 15:40
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 31.08.2021 15:40
![question](/tpl/images/cats/ekonomika.png)
Business, 31.08.2021 15:40
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 31.08.2021 15:40
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 31.08.2021 15:40
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 31.08.2021 15:40
![question](/tpl/images/cats/mat.png)
Mathematics, 31.08.2021 15:40
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 31.08.2021 15:40
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/ekonomika.png)