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