Skip to content

Commit d005c9f

Browse files
authored
Update same_first_last.py
1 parent 33fbc58 commit d005c9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

List-1/same_first_last.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
def same_first_last(nums):
1313
return True if len(nums) >= 1 and nums[0] == nums[-1] else False
1414

15-
print(same_first_last([1, 2, 3]))
16-
print(same_first_last([1, 2, 3, 1]))
17-
print(same_first_last([1, 2, 1]))
15+
#To check:
16+
#print(same_first_last([1, 2, 3]))
17+
#print(same_first_last([1, 2, 3, 1]))
18+
#print(same_first_last([1, 2, 1]))

0 commit comments

Comments
 (0)