Python 让一个list倒序排列 num2 = num2[::-1]

Python 让一个list倒序排列

num2 = num2[::-1] #注意要倒过来乘,方便进位

posted @ 2022-07-26 19:59  bH1pJ  阅读(19)  评论(0编辑  收藏  举报