已知列表ls = list(range(1,13,3)),下列哪个命令能够获得列表中的倒数第二个元素?( )
ls[3]
ls[4]
ls[-1]
ls[-2]
微信小程序
微信扫一扫体验
微信公众账号
微信扫一扫加关注
发表评论 取消回复