2018年4月10日
摘要: #!/usr/bin/env python#_*_ coding:utf-8 _*_info = { 'stu1101':"jack", 'stu1102':"tom", 'stu1103':"mary"}print(info)print(info["stu1101"]) 取值info['stu11 阅读全文
posted @ 2018-04-10 15:24 qjlxqh 阅读(96) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env python#_*_ coding:utf-8 _*_ name = "my \tname is jack"name1 = "my \tname is {name} and i am {year} old"print(name.capitalize()) #实现首字母大 阅读全文
posted @ 2018-04-10 14:02 qjlxqh 阅读(87) 评论(0) 推荐(0) 编辑