Skip to content

Commit

Permalink
Create Counting sheep...
Browse files Browse the repository at this point in the history
  • Loading branch information
presentsite authored and ool3 committed Apr 15, 2020
1 parent 28f0a46 commit a0a7b70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Counting sheep...
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
def count_sheeps(sheep):
# TODO May the force be with you
a = list(filter(lambda x: x, sheep))
return len(a)

0 comments on commit a0a7b70

Please sign in to comment.