Answers for "how to check a type of a list in python"

0

python check if type is list

lst = [0, 1, 2, 3]
if isinstance(lst, list):
	# Is list
Posted by: Guest on June-28-2021

Code answers related to "how to check a type of a list in python"

Python Answers by Framework

Browse Popular Code Answers by Language