ShriRam Changed status to publish August 18, 2023
words=[‘abc’, ‘xyz’, ‘aba’, ‘axa’, ‘1221’]
count = 0
for i in words:
if len(i) > 1 and i[0] == i[-1]:
count += 1
print(count, “Match(s) Found “)
ShriRam Changed status to publish August 18, 2023