One way to find the second largest number in a list of numbers in Python without using the sort function is to use a combination of the max and min functions. First, you can use the max function to find the largest number in the list, and then use the min function to find the second largest number by excluding the largest number from the list and finding the new maximum.
Another way to find second largest number in Python without sort is to use two for loops and track the two maximum numbers you have seen so far, first one is the maximum and the second one is second maximum.
Both of these solutions will output the number “6” which is the second largest number in the given list.