r/PythonLearning • u/RegularBother614 • 20d ago
What do you guys think?
I made a program that finds the second largest digit in a list.
Using the list method "remove()" and "max" function. Python is COOL!
90
Upvotes
View all comments
23
u/NoMakeSenseOk 20d ago
You can keep the list intact and print the second-to-last value of a sorted list.