摘要: # 函数 # 1.功能性 # 2.隐藏细节 # 3.避免编写重复代码 # 4. # print() # round() a = 1.12386 # 保留3位小数 result=round(a,3) print(result) # 定义函数 # def funcname(paramter_list) # pass # 1.参数列表可以没有 # 2.return value none... 阅读全文
posted @ 2018-04-16 18:12 邹柯 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1.while循环 2.for循环 阅读全文
posted @ 2018-04-16 13:19 邹柯 阅读(136) 评论(0) 推荐(0) 编辑