#지능형 리스트 사용 예 1 symbols_1 = 'ajjsㅁㄴ모닝ㄹ' test_list_1 = [ord(s) for s in symbols_1] print(test_list_1) # [97, 106, 106, 115, 12609, 12596, 47784, 45789, 12601] #지능형 리스트 사용 예 2 symbols_2 = 'hajㅁㄴ얼13142asdf' test_list_2 = [ord(s) for s in symbols_2 if ord(s) > 127] print(test_list_2) # [12609, 12596, 50620] test_list_3 = list(filter(lambda k: k > 127, map(ord, symbols_2))) print(test_list_3) # [1260..