会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Python学习
人生苦短,我用python
博客园
首页
新随笔
联系
订阅
管理
2020年9月26日
Python基础教程:input()输入与数据类型转换
摘要: input就是个万能输入,不过input输入的元素都是以str形式保存的,如果要他作为一个整数的话,就需要进行数据类型转换。 input的使用 name=input('please input your name :\n') print(name) please input your name :
阅读全文
posted @ 2020-09-26 21:26 Python探索牛
阅读(4476)
评论(0)
推荐(0)
编辑
公告