摘要:
访问列表中的元素 >>> bicycles = ['trek','cannondale','redline','specialized']>>> print(bicycles)['trek', 'cannondale', 'redline', 'specialized']>>> print(bicy 阅读全文
posted @ 2018-11-21 23:05
helontian
阅读(188)
评论(0)
推荐(0)
摘要:
变量的命名和使用 #!/usr/bin/env python# -*- encoding:utf-8 -*- message ="Hello Python world!"print(message) 在Python中使用变量时,需要遵守一些规则。 变量名只能包含字母、数字和下划线。变量名可以字母或下 阅读全文
posted @ 2018-11-21 23:01
helontian
阅读(162)
评论(0)
推荐(0)
浙公网安备 33010602011771号