diff options
Diffstat (limited to 'progs/a799.py')
-rw-r--r-- | progs/a799.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/a799.py b/progs/a799.py new file mode 100644 index 0000000..5195a90 --- /dev/null +++ b/progs/a799.py @@ -0,0 +1,4 @@ +def neg_nos(list1):
+ for num in list1:
+ if num < 0:
+ return num
\ No newline at end of file |