Create a file called greeting.py in the root of the repo that:
- Defines a function
greet(name: str) -> str that returns 'Hello, {name}!'
- Includes an
if __name__ == '__main__' block that calls greet('World') and prints the result
- Includes a docstring for the function
Create a file called
greeting.pyin the root of the repo that:greet(name: str) -> strthat returns 'Hello, {name}!'if __name__ == '__main__'block that calls greet('World') and prints the result