Unfortunately I seem to still get the behavior I got two years ago, meaning the second part (the else part) of the code always executes in the two if statements conditioned by the coin1 and coin2 variables. I had tried to use rand 1 2 instead of rand 0 1 and set (rand 0 1) meaning adding parentheses. None of these work. They were desperate attempts anyway .
Unfortunately I seem to still get the behavior I got two years ago, meaning the second part (the else part) of the code always executes in the two if statements conditioned by the coin1 and coin2 variables. I had tried to use rand 1 2 instead of rand 0 1 and set (rand 0 1) meaning adding parentheses. None of these work. They were desperate attempts anyway .