Skip to content

Commit 0c328b8

Browse files
authored
Merge pull request #4 from Li-XW707/patch-1
Update 4-6.py
2 parents 16bea3d + cbc2e85 commit 0c328b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

chapter04/4-6.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
jishu = [(value*2 - 1) for value in range(1,11)]
2-
print(jishu)
2+
print(jishu)
3+
4+
jishu = [value for value in range(1,20,2)]
5+
print(jishu)

0 commit comments

Comments
 (0)