Digital & Computing
Simple coding
...maths that make the algorithm work is beyond the scope of this tutorial. Activity 10 Translate the algorithm below to Python. One instruction was already translated for you. Don’t forget to test your code. Note that for the loop to end, the condition must become false, i.e. both variables n and m have the same value. Therefore it doesn’t matter which one you...