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