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