| about | help | done | prefs | create account |
Python > Warmup-2 > array_count9
prev | next | chance
| Given an array of ints, return the number of 9's in the array.
array_count9([1, 2, 9]) → 1 array_count9([1, 9, 9]) → 2 array_count9([1, 9, 9, 3, 9]) → 3 ...Save, Compile, Run See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem 218.0
Copyright Nick Parlante 2006-10 - privacy