How can I do the following in Python?array = [0, 10, 20, 40]for (i = array.length() - 1; ... You can get a reversed list using list(reversed(array)) .
確定! 回上一頁