📜  识别字符串python代码示例

📅  最后修改于: 2022-03-11 14:45:12.125000             🧑  作者: Mango

代码示例1
>>> var = "a string"
>>> isinstance(var, str)
True