Computer Science, asked by trishagandhi2006, 10 months ago

Consider the following function, def f(x): a = [ ] while x > 0: a.append(x) f(x-1) A new object of type list is created for each recursive invocation of f. True or False?

Answers

Answered by gidepri
3

Answer:

true

Explanation:

yes it is true

pls mark me as brainliest

Answered by anusha195sl
0

Answer:

The correct answer is python programming.

Explanation:

def f(x): a = [ ]

while x > 0:

a.append(x) f(x-1):

The following syntax will be True.

It is true because, it follows a recursion innovation of f that is it calls the functions itself as a defined function.

#SPJ3

Similar questions