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 444bc90 commit f7aa0e1Copy full SHA for f7aa0e1
sum2.py
@@ -0,0 +1,6 @@
1
+def sum2(array):
2
+ z = sorted(array)
3
+ a = z[0] + z[1]
4
+ return a
5
+
6
+print sum2([21, 12, 15, 6, 9])
0 commit comments