Python is certainly a very expressive language. This is not a good reason to write obfuscated code. Expressing the same in several lines with clear if blocks and possibly comments will help your colleagues to read and understand it.