For example I have this array:
array = ['b2', 'jy', 'n3', 'ih', 'fc']
And I am trying to access each index of the array to check if is palindrome or not.
for i in range(len(array[i])):
if array[i] == array[len(pal)-i-1]:
booleano = "true"
else:
booleano = "false"
if booleano != "true":
return false
else: return true
What am I missing?