Type hints for keyword arguments

suggest change
def hello_world(greeting: str = 'Hello'):
    print(greeting + ' world!')

Note the spaces around the equal sign as opposed to how keyword arguments are usually styled.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents