DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
is string python
# Method 1
isinstance
(
variable
,
str
)
# Method 2
type
(
variable
)
==
str
PREVIOUS
NEXT
Tagged:
#string
#python
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit