Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythontype hints Optional UnionSingle-choice MCQ

Using `typing.get_args`, what does `get_args(Union[int, Union[str, int]])` return?

from typing import Union, get_args print(get_args(Union[int, Union[str, int]]))