已知列表ls = [7,"Python", [8,"LIST"], 9],则ls[2][-1][3]的运行结果是( )
A: [8,"LIST"]
B: "T"
C: "LIST"
D: "Python"
A: [8,"LIST"]
B: "T"
C: "LIST"
D: "Python"
B
举一反三
- ls = [3.5, "Python", [10,"LIST"], 3.6],ls[2][-1][1]的运行结果是:
- 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],则ls[2][-1][1]的运行结果是( )。 A: I B: P C: Y D: L
- ls = [3.5, "Python", [10, "LIST"], 3.6] print(ls[2][-1][1]) 的运行结果是 A: I B: P C: Y D: L
- ls = [3.5, "Python", [10, "LIST"], 3.6]<br/>ls[2][–1][1]的运行结果是 A: I B: P C: Y D: L
内容
- 0
列表ls=[1,2,’python’,[4,5,‘abc’]],那么ls[3][-1][0]的结果是___________
- 1
若列表ls=[3.5, 'Python', [10,'LIST'], 3.6],则运行print(ls[2][-1][1])的结果为( ) A: L B: I C: P D: y
- 2
ls = [3.5, "Python", [10, "LIST"], 3.6]ls[2][ –1][1]执行上述语句的运行结果是:( )。 A: I B: P C: Y D: L
- 3
以下代码的运行结果是: ls = [3.5, "Python", [10, "LIST"], 3.6] print(ls[2][-1][1]) A: L B: Y C: P D: I
- 4
假设ls=[3.5,”Python”,[10,”LIST”],3.6],则执行ls[2][-1][1]的结果为 A: L B: I C: P D: Y