Sobes.tech
Intern — Middle

Determining the object type using isinstance

livecode

Task condition

Write a program that creates a tuple containing a single integer, and checks whether the resulting object is of type int using the isinstance() function. Output the result of the check.

num = (1_000_000,)
print(isinstance(num, int))