Skip to content

Commit 369722a

Browse files
committed
重新编排文件目录
1 parent 4769348 commit 369722a

File tree

637 files changed

+193
-9216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

637 files changed

+193
-9216
lines changed

.editorconfig

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description: 介绍字符串的索引及切分操作
44
@author:XuMing
55
"""
6-
from __future__ import print_function # 兼容python3的print写法
7-
from __future__ import unicode_literals # 兼容python3的编码处理
6+
7+
88

99
s = 'good morning'
1010
print(s[0]) # g
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description: 介绍列表的方法及示例演示其使用,包括:长度、修改列表、取值、排序
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
empty_list = list()
1010
print(empty_list)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description:
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
# 列表是可变的(Mutable)
1010
a = [1, 2, 3, 4]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description:
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
# 与列表相似,元组Tuple也是个有序序列,但是元组是不可变的,用()生成。
1010
a = (10, 11, 12, 13, 14)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description:
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
import pprint
1010

01base/06.set.py renamed to 01_base/06.set.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description: set 方法操作
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
# 列表和字符串都是一种有序序列,而集合 set 是一种无序的序列。
1010
# 因为集合是无序的,所以当集合中存在两个同样的元素的时候,只会保存其中的一个(唯一性);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description: 判断语句
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
# 基本用法
1010
a = 62
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description: ;列表推导式
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
import time
1010

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
@description:
44
@author:XuMing
55
"""
6-
from __future__ import print_function
7-
from __future__ import unicode_literals
6+
7+
88

99
# while 循环
1010
# while <condition>:

0 commit comments

Comments
 (0)