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