Python · Functions: Parameters & Scope
``` def fac(n): if n < 0: return None result = 1 for i in range(2, n + 1): result *= i return result ``` Why does a negative n never reach the loop?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
