Skip to content

Add a greeting.py script #693

Description

@dzianisv

Create a file called greeting.py in the root of the repo that:

  1. Defines a function greet(name: str) -> str that returns 'Hello, {name}!'
  2. Includes an if __name__ == '__main__' block that calls greet('World') and prints the result
  3. Includes a docstring for the function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions