summaryrefslogtreecommitdiff
path: root/progs/a806.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a806.py')
-rw-r--r--progs/a806.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/progs/a806.py b/progs/a806.py
new file mode 100644
index 0000000..bccb853
--- /dev/null
+++ b/progs/a806.py
@@ -0,0 +1,6 @@
+def largest_neg(list1):
+ max = list1[0]
+ for x in list1:
+ if x < max :
+ max = x
+ return max \ No newline at end of file