Lines Matching refs:factorial
337 async def factorial(name, number):
340 print(f"Task {name}: Compute factorial({i})...")
343 print(f"Task {name}: factorial({number}) = {f}")
348 factorial("A", 2),
349 factorial("B", 3),
350 factorial("C", 4),
357 # Task A: Compute factorial(2)...
358 # Task B: Compute factorial(2)...
359 # Task C: Compute factorial(2)...
360 # Task A: factorial(2) = 2
361 # Task B: Compute factorial(3)...
362 # Task C: Compute factorial(3)...
363 # Task B: factorial(3) = 6
364 # Task C: Compute factorial(4)...
365 # Task C: factorial(4) = 24