We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79dc1ad commit 350cdd3Copy full SHA for 350cdd3
data_structures/arrays/max_min.py
@@ -0,0 +1,7 @@
1
+arr = eval(input())
2
+
3
+maximum = max(arr)
4
+minimum = min(arr)
5
6
+print("Maximum element:", maximum)
7
+print("Minimum element:", minimum)
0 commit comments