Write a function coprime_test_loop() that asks the user for two numbers. This function will pass those two numbers onto a second function coprime(a,b) which will return true or false depending on whether or not the numbers are coprime. The function coprime_test_loop() will print out a message indicating the result. It will then ask the user for another pair of numbers and query coprime(a,b) again. It will continue this loop until the user indicates that they wish to exit the program.
Record a three minute video in which you run the code. Then, present your code. Specifically, answer the following questions:
- How efficient is coprime(a,b)? How did you ensure it was not making any needless computations?
- What assumptions does your code make? How easy is it for the user to crash your code?
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.
a,b = b,a
r = a % b
a = b
b = r...