Python list comprehension – want to avoid repeated evaluation August 14, 2022 by Magenaut I have a list comprehension which approximates to: