Answers for "python how to test if a variable is a string"

13

if type is string python

isinstance(s, str)
Posted by: Guest on March-22-2020

Code answers related to "python how to test if a variable is a string"

Python Answers by Framework

Browse Popular Code Answers by Language