# hints document intent; they are not enforced at runtime def greet(name: str) -> str: return f"hello, {name}" print(greet("world"))
annotate params and return type