Skip to content

Instantly share code, notes, and snippets.



Last active Dec 26, 2019
What would you like to do?
from typing import List, Dict, Tuple
def list() -> List[int]:
return [1, 2, 3]
def dict() -> Dict[str, int]:
return {'a': 1, 'b': 2}
def tuple() -> Tuple[int, str]:
return (1, 'a')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment