python字符串与数字互相转换

字符串->数字: int(字符串) , float(字符串)

 

数字->字符串: str(数字)

posted @ 2019-06-30 01:20  enjie  阅读(5334)  评论(0编辑  收藏  举报