We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0edbac2 commit b32b700Copy full SHA for b32b700
D01/homework.py
@@ -5,4 +5,7 @@
5
EquDifference = py.arange(0,21,1)
6
print(EquDifference)
7
print([ x for x in EquDifference if x%2==0])
8
-print([ x for x in EquDifference[1:] if x%3==0])
+print([ x for x in EquDifference[1:] if x%3==0])
9
+
10
+print(EquDifference[::2] )
11
+print(EquDifference[3::3] )
0 commit comments