[python] 배열간 빼기 연산
converted_tables = ['TAC_03C','TAC_05C','TAC_06C','TSI_99C'] convert_tables = ['TAC_15M','TAC_18C','TAC_19M','TEA_01M','TEA_02C','TFP_26C','TFP_27M','TSI_27M'] result_table = list(set(convert_tables) - set(converted_tables)) # print(sorted(result_table)) for item in sorted(result_table): print(item)python 3.6 기준입니다.example : https://pyfiddle.io/fiddle/183a642f-f82f-4620-a52a-83ecbeee5113/?i=true