-
Notifications
You must be signed in to change notification settings - Fork 695
Open
Description
a = [1,2,3,2,1]
copy_a = a.copy()
copy_a.reverse()
if(copy_a == a):
print("It is a palindrome")
else:
print("It is not a palindrome")
#47.00
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels