Message314195
Yes that's a way to do it but "a, b, c = my_list[1, 3, -1]" seems so pythonic and straight forward, it's like formatting, python had already 3 methods to do it when it introduced a 4th one (f-strings), easier is better especially in python. |
|
Date |
User |
Action |
Args |
2018-03-21 13:21:16 | amjad ben hedhili | set | recipients:
+ amjad ben hedhili, rhettinger, serhiy.storchaka |
2018-03-21 13:21:16 | amjad ben hedhili | set | messageid: <1521638476.31.0.467229070634.issue33103@psf.upfronthosting.co.za> |
2018-03-21 13:21:16 | amjad ben hedhili | link | issue33103 messages |
2018-03-21 13:21:16 | amjad ben hedhili | create | |
|