Why does it return None and not the value?
def countdown(n): if n == 0: return("Blastoff!") else: print(n) countdown(n-1)print(countdown(20))
Why does it return None and not the value?
def countdown(n): if n == 0: return("Blastoff!") else: print(n) countdown(n-1)print(countdown(20))