python第十一课——转换结构


3.转换函数:
int():
float():
str():
list():
tuple():
set():
dict():
bool():

案例:

#演示各个转换函数的使用:

数值型-->字符型
使用:str()

原文地址:https://www.cnblogs.com/hankleo/p/10426950.html