If I for example want to let the user to input any type to the function except list
is there a way I can do that?
in pseudocode:
def some_func(arg: AllTypesExceptOne(list)) -> None:
print(arg)
If I for example want to let the user to input any type to the function except list
is there a way I can do that?
in pseudocode:
def some_func(arg: AllTypesExceptOne(list)) -> None:
print(arg)