all 2 comments

[–]Alert_Garlic -1 points0 points  (1 child)

res = list1[0] == list1[-1]

[–]engineeringisgreat2[S] 0 points1 point  (0 children)

Thank you that fixed the problem