Answers for "paramter typing python"

2

parameter typing python

#function expects a string and returns a string
def greeting(name: str) -> str:
    return 'Hello ' + name
Posted by: Guest on August-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language