3 ms·Is there a better way to do it in Python?by FartyMcFarter 4y agoIs there a better way to do it in Python?