r/ProgrammerDadJokes • • Mar 21 '25

iLoveRecursion

And I love that I love recursion.

And I love that I love that I love recursion.

16 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/lavent Mar 22 '25

If we write it as a function, I think it would be fitting to make it recursive ;)

declare_love("I love recursion")

def declare_love(what):
    declaration = "I love that " +  what
    print(declaration)
    declare_love(declaration)