Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\adamhuan>c:\Python27\python.exe d:\python_data\isPalindrome.py
------------------------------
Program:isPalindrome
------------------------------
Type in Target String which you want to Check:
allahhalla
Your Target String is: allahhalla
------------------------------
The Length of Target is: 10
The Length of Target is: Even.
------------------------------
Target is Palindrome.
------------------------------
Done.
C:\Users\adamhuan>c:\Python27\python.exe d:\python_data\isPalindrome.py
------------------------------
Program:isPalindrome
------------------------------
Type in Target String which you want to Check:
angelababyIybabalegna
Your Target String is: angelababyIybabalegna
------------------------------
The Length of Target is: 21
The Length of Target is: Odd.
------------------------------
Target is Palindrome.
------------------------------
Done.
C:\Users\adamhuan>c:\Python27\python.exe d:\python_data\isPalindrome.py
------------------------------
Program:isPalindrome
------------------------------
Type in Target String which you want to Check:
adamhuan
Your Target String is: adamhuan
------------------------------
The Length of Target is: 8
The Length of Target is: Even.
------------------------------
Target is Not Palindrome.
------------------------------
Done.
C:\Users\adamhuan>c:\Python27\python.exe d:\python_data\isPalindrome.py
------------------------------
Program:isPalindrome
------------------------------
Type in Target String which you want to Check:
Babyla
Your Target String is: Babyla
------------------------------
The Length of Target is: 6
The Length of Target is: Even.
------------------------------
Target is Not Palindrome.
------------------------------
Done.
C:\Users\adamhuan>