ls = [3.5, "Python", [10, "LIST"], 3.6] print(ls[2][-1][1]) 的运行结果是
A: I
B: P
C: Y
D: L
A: I
B: P
C: Y
D: L
举一反三
- ls = [3.5, "Python", [10, "LIST"], 3.6],ls[2][ –1][1]的运行结果是 A: L B: I C: P D: Y
- 以下代码的运行结果是: ls = [3.5, "Python", [10, "LIST"], 3.6] print(ls[2][-1][1]) A: L B: Y C: P D: I
- ls = [3.5, "Python", [10,"LIST"], 3.6],ls[2][-1][1]的运行结果是:
- ls = [3.5, "Python", [10, "LIST"], 3.6]<br/>ls[2][–1][1]的运行结果是 A: I B: P C: Y D: L
- 若ls=[3.5,“Python”,[10,“LIST”],3.6],则ls[2][-1][1]的运行结果是( )。 A: I B: P C: Y D: L