Python3表示记录_使用List

>>> bob = ['Bob Smith',42,30000,'software'] >>> sue = ['Sue Jones',45,40000,'hardware'] >>> bob[0],sue[2] ('Bob Smith', 40000) >>> bob[0].split()[-1] 'Smith' >>> sue[2]*=1.25 >>> sue ['Sue Jones', 45,
相关文章
相关标签/搜索