[SOLVED] CS def divisibleBy(L,x):

$25

File Name: CS_def_divisibleBy(L,x):.zip
File Size: 226.08 KB

5/5 - (1 vote)

def divisibleBy(L,x):
for ele in L:
if x%ele == 0:
return True
return False

def sieve(n):
primes = []
i=2
while len(primes)

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS def divisibleBy(L,x):
$25