为什么我用了str()函数,print出来的数据类型也没有改变呢?
# Enter a code
# coding=utf-8
num=12
list=[1,4,5,6]
dict={'Student':'Bob','Teacher':'Peter'}
str(num)
str(list)
str(dict)
print(num)
print(list)
print(dict)
# Enter a code
# coding=utf-8
num=12
list=[1,4,5,6]
dict={'Student':'Bob','Teacher':'Peter'}
str(num)
str(list)
str(dict)
print(num)
print(list)
print(dict)
2023-02-14
举报