I need to convert this VBA code into python. The code in vba form is as the following:
Findit = x + y + z If (y = x) Then Findit = y If (y < z) Then Findit