Discuss / Python / python交互下调用type()后返回的不是字符串

python交互下调用type()后返回的不是字符串

Topic source
>>> type(type(123))
<class 'type'>

我还以为调用type()后返回的一定是字符串...


  • 1

Reply