Find limit of recursion is part of Short Circuit's Console Program Basics selection.
Task

Find the limit of recursion.




var n = 1
 
func recurse() {
    print(n)
    n += 1
    recurse()
}
 
recurse()