how to check if a variable is astring code example
Example: python check if string
type('hello world') == str
# output: True
type(10) == str
# output: False
type('hello world') == str
# output: True
type(10) == str
# output: False