ok so i really dont understand this whole recursive stuff and i need some help on a simple program.
the problem is to write and test a recursive function max to find the largest number in a list.
here is a non recursive function that ive made,
def Max(li):
nums = li
biggest=0
for num in nums:
if num > biggest:
biggest = num
return biggest
def main():
li = eval(input("please enter a list of numbers: "))
print("The biggest number is: ", Max(li))
main()
can any one help me turn this into a recursive function?