Apr-24-2019, 01:52 AM
(This post was last modified: Apr-24-2019, 02:16 AM by Escribblings.)
Ok.
Thank you for the feedback, I think I understand where you're coming from, I just don't know how to implement it.
As for what you say about the 25, the thing is that send to be working. It's the lines
I originally had those statements as seperated nested if statements
I did also wonder about using
Either way though, side 2 should sum to 50 before the program continues, and it isn't doing.
Oh, and I agree with turning it into functions, I just have no idea how to do it.
Would have edited the last post, but I can't find the bottom - maybe I left it too late to do so
Thank you for the feedback, I think I understand where you're coming from, I just don't know how to implement it.
As for what you say about the 25, the thing is that send to be working. It's the lines
if x == 50:
that seem to be being ignored.I originally had those statements as seperated nested if statements
if s != 25: if b != 25: if c != 25:And the result from that is no different to the result I'm getting now.
I did also wonder about using
if all (a+b, a+c, a+d) != 25:But am not sure on the correct format of such a line.
Either way though, side 2 should sum to 50 before the program continues, and it isn't doing.
Oh, and I agree with turning it into functions, I just have no idea how to do it.
Would have edited the last post, but I can't find the bottom - maybe I left it too late to do so