Is there another way to do this?

def greet(name: str) -> str:
    return "Hello, " + name
greet

File "<ipython-input-28-bee2cddf1f0d>", line 1 def greet(name: str) -> str:
^ SyntaxError: invalid syntax
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to