python not to return value code example Example: specify return type python function Click to copydef greeting(name: str) -> str: return 'Hello, {}'.format(name)