python第十一课——转换结构


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

案例:

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

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

posted @ 2019-02-24 17:32  hank-li  阅读(223)  评论(0编辑  收藏  举报