How it work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How it work?

def func(alfa): beta = list(map(lambda x: x - 1, alfa)) return len(list(filter(lambda y: y % 3 == 0, beta))) print(func(range(1, 10)))

16th Feb 2020, 3:39 PM
youfree568
youfree568 - avatar
2 Answers
0
Hello, thank you. Maybe you can explain how work, what take - def func(alfa). And what take x, y? I dont understand, rang() go to what?
16th Feb 2020, 4:18 PM
youfree568
youfree568 - avatar