Answers for "how to return multiple values in python 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 "how to return multiple values in python type hint"

Python Answers by Framework

Browse Popular Code Answers by Language