Skip to content

Commit b16da6a

Browse files
committed
fix spacing
1 parent e1cf42a commit b16da6a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

students/eoner/lesson03/slice_lab.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# with the elements reversed (just with slicing).
55
# with the last third, then first third, then the middle third in the new order.
66

7-
8-
97
# with the first and last items exchanged.
108
def exchange_first_last(seq):
119
return seq[-1:] + seq[1:-1] + seq[0:1]
@@ -57,7 +55,4 @@ def last_first_middle_third(seq):
5755
assert last_first_middle_third((1,2,3,4,5,6,7,8,9,10)) == (8, 9, 10, 1, 2, 3, 4, 5, 6, 7)
5856
assert last_first_middle_third([1,2,3,4,5,6,7,8,9,10]) == [8, 9, 10, 1, 2, 3, 4, 5, 6, 7]
5957

60-
61-
62-
6358
print("Tests Passed!!!")

0 commit comments

Comments
 (0)