# Is a List already in Sorted Order?

def is_sorted(x):
    if x == sorted(x):
        return True
    else:
        return False


def main():
    us_list = []
    while True:
        us_value = input("Enter a number (black to quit) : ")
        if us_value == "":
            break
        us_value = float(us_value)
        us_list.append(us_value)

    print(is_sorted(us_list))


main()
532efa633e258ecf537ce653ada95d74c8c2f51a
<mask token>

def is_sorted(x):
    if x == sorted(x):
        return True
    else:
        return False


<mask token>

def is_sorted(x):
    if x == sorted(x):
        return True
    else:
        return False


def main():
    us_list = []
    while True:
        us_value = input('Enter a number (black to quit) : ')
        if us_value == '':
            break
        us_value = float(us_value)
        us_list.append(us_value)
    print(is_sorted(us_list))


<mask token>

def is_sorted(x):
    if x == sorted(x):
        return True
    else:
        return False


def main():
    us_list = []
    while True:
        us_value = input('Enter a number (black to quit) : ')
        if us_value == '':
            break
        us_value = float(us_value)
        us_list.append(us_value)
    print(is_sorted(us_list))


main()

# Is a List already in Sorted Order?

def is_sorted(x):
    if x == sorted(x):
        return True
    else:
        return False


def main():
    us_list = []
    while True:
        us_value = input("Enter a number (black to quit) : ")
        if us_value == "":
            break
        us_value = float(us_value)
        us_list.append(us_value)

    print(is_sorted(us_list))


main()