Contact: aviboots(AT)netvision.net.il
39,961 questions
51,903 answers
573 users
lst = ['a', 'b', 'c', 'd', 'e', 'f'] lst = [ord(ch) for ch in lst] print(lst) ''' run: [set(), {1, 3, 7}, set(), {9, 2, 6}, set()] '''