We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Numpy
- Min and Max
- Discussions
Min and Max
Min and Max
Sort by
recency
|
342 Discussions
|
Please Login in order to post a comment
import numpy as np
n ,m = map(int,input(). split(' '))
Arr = [list(map(int,input().split(' '))) for _ in range(n)] arr =np.array(Arr)
minimum = np.min(Arr, axis = 1) print(np.max(minimum))
For Python3 Platform
For Python3