We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4d5695 commit 2334a20Copy full SHA for 2334a20
any or all.py
@@ -0,0 +1,5 @@
1
+user = int(input())
2
+user_list = input().split()
3
+
4
+print(all(int(i) > 0 for i in user_list)
5
+ and any(j == j[::-1] for j in user_list))
0 commit comments