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