Implement a production-grade Python factorial function with thorough unittest coverage following official Python documentation and GitHub best practices.
Zeus Dispatch Metadata
- zeusId: zeus-01-e6ec3700537534ab
- teamHint: team-coding
- capabilityHint: command:implement
- baseBranch: feat/aktuelle-coding-benchmarks-2026
- targetBranch: zeus/01-feat-implement-python-factorial-function-with-co
- acceptance:
- factorial function works for all non-negative integers
- proper error handling for negative numbers and non-integers
- all tests pass without errors
- validation:
- pytest --check-factorial-syntax
- python -m unittest tests/test_factorial.py
Implement a production-grade Python factorial function with thorough unittest coverage following official Python documentation and GitHub best practices.
Zeus Dispatch Metadata