notebook.community
Edit and run
In [1]: from typing import Union, List
from typing import Union, List
In [2]: def func_u(x: List[Union[int, float]]) -> float: return sum(x) ** 0.5
def func_u(x: List[Union[int, float]]) -> float: return sum(x) ** 0.5
In [3]: print(func_u([0.5, 9.5, 90]))
print(func_u([0.5, 9.5, 90]))
10.0