Write a function to count the number of times the value of a sample is 0 and print out the total.
What will be an ideal response?
```
def findAllZeroes(sound):
timesZero = 0
for sample in getSamples(sound):
value = getSampleValue(sample)
if (value==0):
timesZero = timesZero+1
print(timesZero)
```
You might also like to view...
Shortcut menus are ________ where the choices listed in the menu depend on where you click in your document
Fill in the blank(s) with correct word
When you open Microsoft Word 2013, ________ is displayed so that you can easily begin to work with new or existing files
A) the Save dialog box B) the Word Start screen C) Backstage view D) a blank document
You must end very SQL statement with a ________
A) comma (,) B) period (.) C) colon (:) D) semicolon (;)
A firewall is any device that prevents a specific type of information from moving between the untrusted network and the trusted network.
Answer the following statement true (T) or false (F)