diff options
Diffstat (limited to 'progs/a724.py')
-rw-r--r-- | progs/a724.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a724.py b/progs/a724.py new file mode 100644 index 0000000..6881793 --- /dev/null +++ b/progs/a724.py @@ -0,0 +1,3 @@ +def remove_empty(list1):
+ remove_empty = [x for x in list1 if x]
+ return remove_empty
\ No newline at end of file |