You will write the factorial, permutation and combination counts as functions, and check them against a list.
Your tasks.
factorial, return with a loop. Remember that .permutations_count, return as a product of numbers that start at and go down by one.combinations_count, return using the two functions above.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…