A switch statement lets you execute different code blocks based on which value a variable matches; a cleaner alternative to a chain of if-else check
FastAPI is a modern, fast web framework for building APIs with Python It automatically generates interactive API documentation, provides built-in data validation, and offers high performance comparable to NodeJS and Go frameworks.
A function is a reusable block of code that performs a specific task when called, taking in data (known as parameters or arguments) and potentially returning a result.