习题2.6

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

posted @ 2024-10-27 23:44  世梦  阅读(62)  评论(0)    收藏  举报