reversed () method to check for Palindrome in Python: ... freq[ord(i)] += 1 #ord(x) gives the unicode value of x. num_odds = 0.
確定! 回上一頁