例题2.6

DENWOSHUABAZONGSHI / 2024-11-10 / 原文

例题2.6代码

T = ('abc', 12, 3.45, 'python', 2.789)
print(T)
print(T[-1])
print(T[1:3])