PYTHON_TASKS Telegram 2795
Что выведет код?
def f(transform, *args):
res = args[0]
for arg in args[1:]:
res = transform(res, arg)
return res

data = [-4, 2, -1, 5, -6, 3]
func = lambda x, n: x * (-1)**n
print(int(f(func, *data)))



tgoop.com/python_tasks/2795
Create:
Last Update:

Что выведет код?

def f(transform, *args):
res = args[0]
for arg in args[1:]:
res = transform(res, arg)
return res

data = [-4, 2, -1, 5, -6, 3]
func = lambda x, n: x * (-1)**n
print(int(f(func, *data)))

BY Python Tasks & ML | Задачи по питону и машинному обучению


Share with your friend now:
tgoop.com/python_tasks/2795

View MORE
Open in Telegram


Telegram News

Date: |

Administrators End-to-end encryption is an important feature in messaging, as it's the first step in protecting users from surveillance. As the broader market downturn continues, yelling online has become the crypto trader’s latest coping mechanism after the rise of Goblintown Ethereum NFTs at the end of May and beginning of June, where holders made incoherent groaning sounds and role-played as urine-loving goblin creatures in late-night Twitter Spaces. 2How to set up a Telegram channel? (A step-by-step tutorial) How to Create a Private or Public Channel on Telegram?
from us


Telegram Python Tasks & ML | Задачи по питону и машинному обучению
FROM American