Learn Recursion with Python: Recursion: Conceptual Cheatsheet | Codecademy

PHOTO EMBED

Fri Mar 29 2024 12:01:56 GMT+0000 (Coordinated Universal Time)

Saved by @wiseteacher

function countdown(value)
  if value is negative or zero
    print "done"
  otherwise if value is greater than zero
    print value
    call countdown with (value-1)
content_copyCOPY

https://www.codecademy.com/learn/learn-recursion-python/modules/recursion-conceptual/cheatsheet