Skip to content

Commit 7b47470

Browse files
authored
Create array_count9.py
1 parent 317dd92 commit 7b47470

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Warmup-2.py/array_count9.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def array_count9(nums):
2+
nr = 0
3+
for i in nums :
4+
if i == 9 :
5+
nr += 1
6+
return nr

0 commit comments

Comments
 (0)