ITeye博客

python字符串与数字的转化

cai555 · 2009-04-20 16:07 · Python · Python · Markdown

数字变为字符串 str()
字符串变为数字 string.atoi(s,[,base]) //base为进制基数

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。