Python is very simple language to do these kind of operations. Thats why its using in Machine Learning processes
input = [10,20,30,11,10]
print(max(input))
print(min(input))
And, the output is
30
10
`
Python is very simple language to do these kind of operations. Thats why its using in Machine Learning processes
input = [10,20,30,11,10]
print(max(input))
print(min(input))
And, the output is
30
10
`
For further actions, you may consider blocking this person and/or reporting abuse
Pranav Raut -
Scofield Idehen -
Md Yusuf -
Hana Belay -
Top comments (1)
I'm not a python guy, but wouldn't this scan the entire array twice? For a large array that would be wasteful. It's probably better to design a single loop and track the min and max values, right?