diff --git a/Counting sheep... b/Counting sheep... new file mode 100644 index 0000000..c142df7 --- /dev/null +++ b/Counting sheep... @@ -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)