Pete Fotheringham is a user on You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Instead of a complicated, long expression as one statement in Python, it tends to be better to break it into several. Code is much clearer, if a few lines longer.