Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
use any solution in Clear category for Ascending List by kdim
from typing import Iterable
def is_ascending(items: Iterable[int]) -> bool:
return not any([ items[i] <= items[i-1] for i in range(1,len(items)) ])
Jan. 27, 2021
Comments: