摘要:
1. 安装 如果是python2, 直接用pip 卸载 2. 升级 阅读全文
posted @ 2017-03-17 23:27
涵叔
阅读(2176)
评论(0)
推荐(0)
摘要:
def sale_car(price, color, brand, is_second_hand, length, height): print('price:', price, 'color:', color, 'is_second_hand:', is_second_hand, 'length:', length, ... 阅读全文
posted @ 2017-03-17 23:13
涵叔
阅读(89)
评论(0)
推荐(0)
摘要:
1. if 2. if else 3. if elif else 阅读全文
posted @ 2017-03-17 01:11
涵叔
阅读(120)
评论(0)
推荐(0)
摘要:
1.python 是动态语言,list保存值可以是多种 2. 取值 2. 添加 添加到最后append() 添加到最前insert() 它接受两个参数,第一个参数是索引号,第二个参数是待添加的新元素 3. 删除 pop(),删除最后一个 自定义位置删除 4. 替换 Tuple ,元组,与list相似 阅读全文
posted @ 2017-03-17 00:46
涵叔
阅读(97)
评论(0)
推荐(0)

浙公网安备 33010602011771号