Sobes.tech
Intern — Senior

Type checking of a value using a tuple literal

livecode

Task condition

Analyze what the function print_type does, how correct the code is, what data types are formed, and what output will appear when it is run.

def print_type():
    large_num = 1_999_333
    pair = (large_num,)
    print(isinstance(pair, int))

if __name__ == "__main__":
    print_type()