petunjuk tipe python untuk string

# Use ": str" after an argument name
# Use " -> str" in the function header before the ending colon
def greeting(name: str) -> str:
    return 'Hello, ' + name
Squeamish Ossifrage