Day 6 Puzzle
Fix the function so that
solve()
calculates the **factorial** of a number correctly.
def solve(): number = 5 result = 1 for i in range(1, number + 2): result *= i return result
Run
🎉You put the ‘meh’ in ‘method.