Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

Understand why Data Analytics matters to business.

Answered: 1 week ago