+ 2
How can I get the highest number from a give array
I have an array of numbers and i want to establish the highest number. Further more i want to determine which if the numbers is below average if am given an average mark x
2 ответов
+ 1
for python:
numbers = [1,2,3,...]
highest_number = max(numbers)
below_average = [num for num in numbers if num < mark_x]
0
Hey thanks Kevin. The solution worked for me.