下面代码的输出结果是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、错误;
D、['AC','AD','BC','BD']
发布时间:2024-11-22 11:01:18
A、[('A','C'),('A','D'),('B','C'),('B','D')];
B、[‘A’,’B’,’C’,’D’];
C、错误;
D、['AC','AD','BC','BD']