Source code for semi_cr.hello_world

[docs] def greeter(name: str) -> str: """Generate a greeting message. Args: name (str): The name of the person to greet. Returns: str: The greeting message. """ return f"Hello, {name}!"
[docs] def hello_world() -> None: """Print a friendly greeting.""" print("Hello, world! from testnew")
[docs] def myadd(x: float, y: float) -> float: """Add two numbers. Args: x (float): The first number. y (float): The second number. Returns: float: The sum of the two numbers. """ return x + y