Python基础-int和string互相转换

来源:互联网 发布:淘宝注意事项 编辑:程序博客网 时间:2024/05/29 12:48

int转成string,函数int(string)

string转成int,函数str(number)

如下:

0 1