HackerRank- Python Min and Max
Perform Min Function and find Max value of 2-D array
- import numpy as np
- N, M = map(int, input().split())
- print(np.array([input().split() for _ in range(int(N))], int).min(1).max())
Perform Min Function and find Max value of 2-D array
- import numpy as np
- N, M = map(int, input().split())
- print(np.array([input().split() for _ in range(int(N))], int).min(1).max())
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.