摘要:
一、函数的参数1、位置参数2、默认参数n就是默认参数def power(x,n=2): s=1 while n > 0: n = n - 1 s = s * x return s默认参数有个坑,就是 默认参数要设置为 不可变对象,【str和None】3、... 阅读全文
摘要:
background: #22b4ff //背景色 url("http://images.cnblogs.com/cnblogs_com/oiliu/529256/o_titleIMG.jpg") //背景图 no-repeat //不拉... 阅读全文
摘要:
源:Knockout.js 日期格式化源:momentjs 阅读全文