Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

isinstance python

numbers = [1, 2, 3, 4, 2, 5]

# check if numbers is instance of list
result = isinstance(numbers, list)
print(result)

# Output: True
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #isinstance #python
ADD COMMENT
Topic
Name
3+1 =