On 29May2024 01:14, Thomas Passin <li...@tompassin.net> wrote:
Also, it's 2024 ... time to start using f-strings (because they are more readable than str.format())
By which Thomas means stuff like this: print(f'if block {name[index]} and index {index}') Notice the leading "f'". Personally I wouldn't even go that far, just: print('if block', name[index], 'and index', index) But there are plenty of places where f-strings are very useful. -- https://mail.python.org/mailman/listinfo/python-list