You are viewing a single comment's thread. Return to all comments →
n1, n2=input(),input().split() print(all([int(i) > 0 for i in n2]) and any([j == j[::-1] for j in n2]))
Seems like cookies are disabled on this browser, please enable them to open this website
Any or All
You are viewing a single comment's thread. Return to all comments →
n1, n2=input(),input().split() print(all([int(i) > 0 for i in n2]) and any([j == j[::-1] for j in n2]))