logo

Crowdly

Browser

Add to Chrome

Cosa fa la seguente funzione? def mistero(n):     for i in range(2, n):   ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Cosa fa la seguente funzione?

def mistero(n):

    for i in range(2, n):

        if n % i == 0:

            return False

    return True

More questions like this

Want instant access to all verified answers on moodle.edu.ti.ch?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome