logo

Crowdly

Browser

Add to Chrome

Mida peame panema for tsükli tingimusse, et funktsioon foo() tagastaks "Err...

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

Mida peame panema for tsükli tingimusse, et funktsioon foo() tagastaks "Error!"?

def foo():

    for i in ___:

        if i == 5:

            break

        elif i > 5:

            return "Error!"

    else:

        return True

    return False

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.taltech.ee?

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

Browser

Add to Chrome