Skip to content

Instantly share code, notes, and snippets.

@tusharsadhwani
Created May 2, 2021 19:35
from typing import Tuple
def print_info(user_info: Tuple[str, int, str]) -> None:
name, age, bio = user_info
print(f"My name is {name}, I am {age} years old, and I am a {bio}")
user_info = ('Tushar', 21, 'Developer from India.')
print_info(user_info) # My name is Tushar, I am 21 years old, and I am a Developer from India.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment