Simplified notation of condition if/else on python or function / expression

Yeah I think we can make some improvements here. Firstly though can you set out the logic you are trying to create? From a quick glance through, it seems to be if y=48 then l=85 and m=16 and as x increases, a increases. It then progresses with certain variables changes as the inputs do. Without digging through all 300 lines of your code and deciphering this for myself, can you set out the logic in a few lines on here?

1 Like