上一页 1 ··· 17 18 19 20 21
摘要: 英文文档: round(number[, ndigits])Return the floating point value number rounded to ndigits digits after the decimal point. If ndigits is omitted, it retu 阅读全文
posted @ 2017-12-29 14:48 lincappu 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 英文文档: pow(x, y[, z])Return x to the power y; if z is present, return x to the power y, modulo z (computed more efficiently than pow(x, y)% z). The two 阅读全文
posted @ 2017-12-29 14:25 lincappu 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 英文文档: min(iterable, *[, key, default]) min(arg1, arg2, *args[, key]) Return the smallest item in an iterable or the smallest of two or more arguments. 阅读全文
posted @ 2017-12-29 14:13 lincappu 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 英文文档: max(iterable, *[, key, default]) max(arg1, arg2, *args[, key]) Return the largest item in an iterable or the largest of two or more arguments. I 阅读全文
posted @ 2017-12-29 14:09 lincappu 阅读(1596) 评论(0) 推荐(0) 编辑
摘要: 英文文档: divmod(a, b) Take two (non complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using inte 阅读全文
posted @ 2017-12-29 12:56 lincappu 阅读(483) 评论(0) 推荐(0) 编辑
摘要: 英文文档: abs(x) Return the absolute value of a number. The argument may be an integer or a floating point number. If the argument is a complex number, it 阅读全文
posted @ 2017-12-29 12:36 lincappu 阅读(767) 评论(1) 推荐(0) 编辑
摘要: 1 # !/usr/bin/env python3 2 # _*_coding:utf-8_*_ 3 4 5 def help_sql(cmd): 6 if cmd in func_dic.keys(): 7 print('{} usage:\n '.format(cmd)) 8 if cmd == 'select': ... 阅读全文
posted @ 2017-12-29 12:26 lincappu 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1 # 1.三级菜单 2 menu = { 3 '北京':{ 4 '海淀':{ 5 '五道口':{ 6 'soho':{}, 7 '网易':{}, 8 'google':{} 9 }, 10 ... 阅读全文
posted @ 2017-12-29 12:25 lincappu 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 1 #作业:登陆接口 2 user=['test','test1','test2','test3'] 3 password=['test','1test','2test','3test'] 4 count=0 5 while True: 6 if count > 2: 7 print(''' 8 你操作太频繁,请稍后再试! 9 '''... 阅读全文
posted @ 2017-12-29 12:24 lincappu 阅读(414) 评论(0) 推荐(1) 编辑
上一页 1 ··· 17 18 19 20 21