87. What is the output of the following Python code? print(I(a,b) for a in range(3) for
b in range(a)])
(A)[(1,0),(2,0),(2,1)]
(B)[(0,0),(1,1),(2,2)]
(C) [(1,0), (2,1), (2,1)1
(D)[(1,0), (2,1), , (3,2) ]
(E)[(1,0),(2,1),(2,2)1
詳解 (共 1 筆)
未解鎖
這段Python代碼使用了列表推導式(l...