摘要:
在 Python 中,`type()` 是一个内置的函数,它有两个作用: 1. 返回对象的类型。 2. 动态创建类。 在第一种情况下,我们可以使用 `type()` 获取一个对象的类型,例如: ```python a = 123 print(type(a)) # ``` 上面代码中,`a` 是一个整 阅读全文
sqmw
The awakening is always delayed, there seems to be some fog
|
|
|