Answers for "python function return multiple values type hint"

1

use python type hint for multiple return values

from typing import Tuple

def func() -> Tuple[str, str]:
    return 'a', 'b'
Posted by: Guest on May-05-2021

Code answers related to "python function return multiple values type hint"

Python Answers by Framework

Browse Popular Code Answers by Language