3 ms·
If I apply a bunch of functions to a variable before printing I tend to use .format() and do it inside the format call, e.g “{}”.format(a.lower().upper()) Some
by wodenokoto 6y ago
If I apply a bunch of functions to a variable before printing I tend to use .format() and do it inside the format call, e.g “{}”.format(a.lower().upper())
Something just feels more right about that. Maybe it is the code highlighting that works better.