write one specific formula in python : <p>I have a question, everyone knows how can I write this formula with python? </p>

<p><a href="https://i.stack.imgur.com/eg7G5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eg7G5.png" alt="enter image description here"></a></p>
