Quizne
Quizne
zalo desktopzalo mobile

CÂU HỎI: ĐÂU LÀ MỘT VÍ DỤ ĐÚNG VỀ CLOSURE?

NeNe run

Want to know the answer? Start playing now!

[Python Intensive Course] Quiz 9
0 Questions
4 Plays

[Python Intensive Course] Quiz 9

avatar
Yen Trinh
Level:
Easy
[Python Intensive Course] Quiz 9
Question Types: Multiple choice
Answers:

- def outer(x): def inner(y): return x + y return inner

- lambda x: x*x

- def fib(): a, b = 0, 1 while True: yield a a, b = b, a + b

- def decorator(func): def wrapper(*args): print("Logging") return func(*args) return wrapper

zalo desktopzalo mobile