# coding=utf-8 id = 121 name = 'is_sorted/1' slug = 'check if list is sorted' description = '''\
is_sorted(L)
: the elements of list L
are sorted in non-decreasing order.
?- is_sorted([2,3,6,8,12]). true. ?- is_sorted([2,3,1,6,5]). false.''' hint = {}