Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
ascending_list solution in Clear category for Ascending List by dannedved
from typing import Iterable
def is_ascending(items: Iterable[int]) -> bool:
return sorted(items) == items and len(set(items)) == len(items)
May 15, 2020