You are viewing a single comment's thread. Return to all comments →
N, values = int(input()), list(input().split()) print(all(int(num) >=0 for num in values) and any(num == num[::-1] for num in values))
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 →