python
摘要:
环境:python 2.7.xs = int(s)报错ValueError: invalid literal for int() with base 10: '2.3'不能强制转换float为int。可以用round(float(x))。以访问类型Python中的类型分类1直接访问:数字2:顺序访问... 阅读全文
posted @ 2015-10-18 01:01 yangshine 阅读(166) 评论(0) 推荐(0)
浙公网安备 33010602011771号