DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
recursion in python
def rec(num): if num <= 1: return 1 else: return num + rec(num - 1) print(rec(50))
PREVIOUS
NEXT
Tagged:
#recursion
#python
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit