Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
49 views

Task "output" the min of :1,2,3,5,6 is 1 / The max of :1,2,3,5,6 is 6 / the max of :1,2,3,5,6 is 3.4

Can't get the correct answer on line 3 The avg of 1,2,3,5,6 is 3.4 Closest I get is 3.0 I have tried several different approaches the get the list into a string but I'm missing something small right ...
Hannes Grobbelaar's user avatar
0 votes
7 answers
5k views

Python Average, Max, Min from list

so I have a list like this: kesto = ['3m 24s', '45s', '1h 2m 40s'] I need to find an average, min and max of these. I have tried: max_value = max(kesto) min_value = min(kesto) avg_value = sum(kesto)/...
user avatar
1 vote
2 answers
1k views

Python Create a program that performs and analysis on final grades in a course

The folowing are what im suppose to do Create a program that performs and analysis on final grades in a course. The program must use a loop and append each grade to the list as it is added. The ...
user avatar
-5 votes
1 answer
97 views

I need to create a python program that will calculate maximum, average and minimum

Let me give you a bit of context. I am supposed to create a program that will read a list from the keyboard, then calculate the maximum, minimum and average of the values given. Then, it needs to ...
CocoT's user avatar
  • 9