|
|
|
|
|
by QuiDortDine
1062 days ago
|
|
I've been coding for most of my life and I can't believe some people would choose some of these tricks when python has much simpler syntax for most of these. The first, *_, last trick for example would be particularly obnoxious to encounter. The first element is my_list[0], last is my_list[-1]. Dead simple, way easier to understand at a glance. |
|