$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #40

Fill the operator that multiplies n by the recursive result.

def fact(n):
    if n == 0:
        return 1
    return n ____ fact(n - 1)

Answer: * (also accepted: *)

Factorial multiplies n by fact(n-1).
Play Problem Solving ▸