Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 651 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 651 Bytes

Recursion-Python

Recursion in Python

importing sys for increasing recursionlimit

import sys

This will set limit (2000)

sys.setrecursionlimit(2000)

For cheaking recursionlimit

print(sys.getrecursionlimit())  

Just for count the recursion

i = 0

define function greed():

def greet():
global i
i+=1
print('Hello', i)
greet()

Calling function

greet()

Here I'm

Information

BY aakashpadhiyar

8140171224