私信  •  关注

lilhamad

lilhamad 最近创建的主题
lilhamad 最近回复了
4 年前
回复了 lilhamad 创建的主题 » 在Python中执行数学运算时从列表中排除字符串[重复]
a = "cool"
type(a)
//result
<class 'str'>

or do `dir(a)` to see the list of inbuilt methods you can have on the variable.