Hint

🧠 Not sure where to start?

Begin by writing a simple function that accepts a list of numbers. Inside that function, use a variable to keep track of the largest number found so far:

def find_largest(numbers):
    largest = numbers[0]
    for num in numbers:
        if num > largest:
            largest = num
    return largest

Outside the function, ask the user to input numbers separated by commas:

numbers_input = input("Enter numbers separated by commas: ")
numbers = [int(n.strip()) for n in numbers_input.split(",")]

Finally, call your function with the list and print the result:

print(find_largest(numbers))

This keeps your program clear and broken into logical steps.