user
Task: Given a list of instructions, write a function using a programming language
Input: Find the largest number 
Find the smallest number
Compare the two numbers
Output:
assistant
def find_largest_and_smallest_numbers(numbers):
    largest_number = 0
    smallest_number = numbers[0]
    for number in numbers:
        if number > largest_number:
            largest_number = number
        elif number < smallest_number:
            smallest_number = number
    return largest_number, smallest_number