# Write a Python program to find the second largest number in a list.

sample=[17,1,1,1,1,1,1,1]
sample.sort()
smallest = sample[0]
for num in sample:
    if num>smallest:
        smallest=num
        print(f'The second smallest is {smallest}')
        break
    
else:
    print('None')


87d3bbc98f4c0046069eab01508091c4591e277b
<mask token>

<mask token>
sample.sort()
<mask token>
for num in sample:
    if num > smallest:
        smallest = num
        print(f'The second smallest is {smallest}')
        break
else:
    print('None')

sample = [17, 1, 1, 1, 1, 1, 1, 1]
sample.sort()
smallest = sample[0]
for num in sample:
    if num > smallest:
        smallest = num
        print(f'The second smallest is {smallest}')
        break
else:
    print('None')

# Write a Python program to find the second largest number in a list.

sample=[17,1,1,1,1,1,1,1]
sample.sort()
smallest = sample[0]
for num in sample:
    if num>smallest:
        smallest=num
        print(f'The second smallest is {smallest}')
        break
    
else:
    print('None')

