📅  最后修改于: 2022-03-11 14:46:05.542000             🧑  作者: Mango
#! /usr/bin/python3
# useing all
if( all( yourArray[item] <= yourArray[item + 1] for item in range( len( yourArray ) - 1 ) ) ):