can you define types in python code example
Example 1: declare double python
def function(explicit_number: type) -> type:
pass
Example 2: type declaration python
def greeting(name: str) -> str:
return 'Hello ' + name
def function(explicit_number: type) -> type:
pass
def greeting(name: str) -> str:
return 'Hello ' + name