Q47_231_20250728130358.webp
G

Q47_231_20250728130358.webp

☑Kizspy.me
Answer (Choose 1 answer)
☐ A
What will be the output of the following code?
def rec(n):
if (n == 0):
return n
else:
return n + rec(n-1)
print(rec(4))
Back
Next
FUQ.sh
sh the exam.
A. 4
B. 0
C. 10
D. Error

Thông tin

Category
CSD203
Thêm bởi
gentle_rain
Ngày thêm
Lượt xem
1,047
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom