Quizne
Quizne

📢 QuizNe.vn will officially cease operations on 27/08/2026. Thank you for being with us.

zalo desktopzalo mobile

ĐÂU LÀ CÚ PHÁP ĐÚNG ĐỂ VIẾT UNIT TEST CHO MỘT HÀM ĐỆ QUY?

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 test_recursive(): assertEqual(factorial(5), 120)

- def factorial(n): if n == 0: return 1 else: return n * factorial(n-1)

- lambda x: x*x

- def wrapper(func): return func

zalo desktopzalo mobile