#!/usr/bin/env python # Challenge 095 # # TASK #1 › Palindrome Number # Submitted by: Mohammad S Anwar # You are given a number $N. # # Write a script to figure out if the given number is Palindrome. Print 1 if true otherwise 0. # # Example 1: # Input: 1221 # Output: 1 # Example 2: # Input: -101 # Output: 0, since -101 and 101- are not the same. # Example 3: # Input: 90 # Output: 0 import sys print(1 if sys.argv[1] == sys.argv[1][::-1] else 0)