Day 34: 100 Days of Code
Type Hints and Arrow:
We can specify the type of parameters as name: str, and also the type of fucntion out put as --> str. So that later if we forget the type of our parameter our IDE gives hints.
# Type hints and Arrows
def greetings(name: str) -> ...
maryambibi.hashnode.dev1 min read