摘要: #--*-- coding: utf-8 --*-- class Teacher: """教师""" def __init__(self,teach_name,teach_age,teach_date,course): self.teach_name = teach_name self.teach_age = teach_age s... 阅读全文
posted @ 2017-04-19 17:22 福临 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 4、判断"yuan"是否在[123,(1,"yuan"),{"yuan":"handsome"},"yuanhao"],如何判断以及对应结果? 5、l=[1,2,3] l2=l.insert(3,"hello") print(l2) 执行结果并解释为什么? 7 使用文件读取,找出文件中最长的行的长度 阅读全文
posted @ 2017-04-19 01:37 福临 阅读(220) 评论(0) 推荐(0) 编辑