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