default argument with type hint python

Solutions on MaxInterview for default argument with type hint python by the best coders in the world

showing results for - "default argument with type hint python"
Silvana
11 Jan 2021
1def foo(opts: dict = {}):
2    pass
3
4print(foo.__annotations__)
5