Python #Code_Signal_[ Step 18 - 20]
Step 18 Given a string, find out if its characters can be rearranged to form a palindrome. ( PALINDROME : A palindrome is a string that reads the same left-to-right and right-to-left ) My solution: def palindromeRearranging(inputString): cntString=[] done=[] for i in inputString: if i in done: continue if inputString.count(i)%2==1: cntString.append(inputString.count(i)) done.append(i) if len(cnt..
2020.02.14