79367534

Date: 2025-01-18 16:43:22
Score: 0.5
Natty:
Report link

This code will do what you want:

minsign = M_top__z if abs(M_top__z) < abs(M_bot__z) else M_bot__z
M_01__z = min((abs(M_top__z), abs(M_bot__z))) + N_Ed*e_0__z
if minsign < 0:
    M_01__z *= -1
print(F"{minsign = } {M_01__z = }")

Even though the printed answer is mathematically incorrect.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: OldBoy