Answers for "python check if variable is list or string"

8

python check if variable is list or string

isinstance([0, 10, 20, 30], list) 		# True
isinstance(50, list)					# False
Posted by: Guest on May-15-2021

Code answers related to "python check if variable is list or string"

Python Answers by Framework

Browse Popular Code Answers by Language