blob: 15f4df85a9821e1a0b5c8dda651202cf1e79fbe7 (
plain)
1
2
3
4
5
6
7
8
|
## strInput = "weekly" ## Example 1
## strInput = "perl" ## Example 2
strInput = "challenge" ## Example 3
arrSet = [charLoop for charLoop in set(strInput) if strInput.count(charLoop) % 2 == 0]
print (len(arrSet) == 0)
|