(单选题, )
下面代码的输出结果是( )
List1 = [(m,n) for m in 'ABC' for n in 'ABC' if m!=n]
Print(list1)
A.[('A', 'B'), ('A', 'C'), ('B', 'A'), ('B', 'C'), ('C', 'A'), ('C', 'B')] B.['AC', 'AD', 'BC', 'BD'] C.错误 D.[('A', 'C'), ('A', 'D'), ('B', 'C'), ('B', 'D')]正确答案A