parameter typing python

Solutions on MaxInterview for parameter typing python by the best coders in the world

showing results for - "parameter typing python"
Monica
11 Feb 2020
1#function expects a string and returns a string
2def greeting(name: str) -> str:
3    return 'Hello ' + name