logo

Crowdly

Browser

Add to Chrome

Що буде виведено на екран? def f(n, data=[]): if n % 2 == 0: data.appen...

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

Що буде виведено на екран?

def f(n, data=[]):

if n % 2 == 0:

data.append

Ні

else:

data = [n]

return sum(data)

print(f"{f(2)} {f(4)} {f(3)} {f(6)}")

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

Want instant access to all verified answers on kursant.khnuvs.org.ua?

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

Browser

Add to Chrome