- 0
Notifications Mark All Read
- Login
- Get Prime
Cognizant Coding Question- 17
Access Denied!
To view this page you have to login first
Login here -
Trivia
Did you know 1 million people use PrepInsta everyday?
Notifications Mark All Read
To view this page you have to login first
Login here -
Did you know 1 million people use PrepInsta everyday?
#pyhton
arr = list(map(int(input().split()))
a1 = []
for i in range(1, len(arr)+1):
a1.append(arr[-i])
if a == a1:
print(“palindrome”)
else:
print(“not a palindrome”)