【Python编程】
文章平均质量分 52
Python编程学习!
awool
大家好,我是awool!
展开
-
【Python编程】打印九九乘法表Python版!
#!/usr/bin/env python def x9(): for i in range(1, 10, 1): for j in range(1, i+1): print '%dx%d=%d' % (j, i, i*j), print '\n' if __name__ == "__main__": x9()原创 2021-09-22 03:21:59 · 161 阅读 · 0 评论 -
【Python编程】Python内建函数的用法!
目录 1. abs(x) 2. apply(function,args[,keywords]) 3. buffer(object[,offset[,size]]) 4. callable(object) 5. chr(i) 6. cmp(x,y) 7. coerce(x,y) 8. compile(string,filename,kind) 9. complex(real,[image]) 10. delattr(object,name) 11. dir([object]) ...原创 2021-09-22 03:05:59 · 117 阅读 · 0 评论