摘要: input 输入 和 转换数据类型 # input 接受的数据都是字符串类型 password = input('请输入密码:') print(type(password)) # str print(type(int(password))) # int # eval() 将数据类型转换为数据原本的类 阅读全文
posted @ 2021-11-02 15:24 伴你如风 阅读(74) 评论(0) 推荐(0) 编辑