Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
one line solution in Clear category for Ascending List by kazuki.h
from typing import Iterable
def is_ascending(items: Iterable[int]) -> bool:
return items[0] < items[1] and is_ascending(items[1:]) if len(items) > 1 else True
April 3, 2021
Comments: