From 4a417c72529929a7262a095fc0074f8a370057ae Mon Sep 17 00:00:00 2001 From: Bethel Date: Sat, 19 Oct 2024 15:21:34 +0300 Subject: [PATCH 1/2] Added count_zeros.py function --- BethelMutunga/count_zeros.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 BethelMutunga/count_zeros.py diff --git a/BethelMutunga/count_zeros.py b/BethelMutunga/count_zeros.py new file mode 100644 index 00000000..e69de29b From cefde5356cf6bd4326ee3f86af757947ab55076c Mon Sep 17 00:00:00 2001 From: BethelMutunga Date: Sat, 19 Oct 2024 17:33:19 +0300 Subject: [PATCH 2/2] Added count_zeros.py function --- BethelMutunga/count_zeros.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BethelMutunga/count_zeros.py b/BethelMutunga/count_zeros.py index e69de29b..7d6736fc 100644 --- a/BethelMutunga/count_zeros.py +++ b/BethelMutunga/count_zeros.py @@ -0,0 +1,4 @@ +def CountZeros(*A): + return A.count + +print(CountZeros(1, 0, 5, 6, 0, 2)) \ No newline at end of file