Question: How do you write an infinite loop for a recursive function in python. for example, I created a code which loops for 5 times but
How do you write an infinite loop for a recursive function in python. for example,
I created a code which loops for 5 times but I want to make the loop infinite or make this function run infinitely

. classwork 12.py/Users/ def function(n): Python GCC 4. Type "co a-10 if n--1: else: return a 10 40 160 640 2560 return r* function(n-1) for i in range (1,6): print(function(i))
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
