Question: Create a function named divisible _ by _ ten ( ) that takes a list of numbers named nums as a parameter. Return the count

Create a function named divisible_by_ten() that takes a list of numbers named nums as a parameter.
Return the count of how many numbers in the list are divisible by 10.
Hint
Create a counter that starts at 0. Inside the loop, whenever you find a number divisible by ten, add 1 to that counter.
x is divisible by ten if x %10==0 is True.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!