value in list greater or not of the previous one

前端 未结 0 915
無奈伤痛
無奈伤痛 2020-11-28 03:11

so I have a list in python and I want to check if the next value is greater or not and if that holds up for all in that list return True.

lst = [5,4,3,2,1]

I w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题