Start up an editor of your choice. Write a Python code for the following problem. Save your work as gcd.py. Upload the file you saved.
The problem:
1. User inputs two separate integers.
2. Find the greatest common divisor of these integers.
Note:
Check that the numbers entered are positive integers. Otherwise, exit with errors. Variable type can be tested using the isinstance() function:
>>> a = 5
>>> isinstance(a, int)
True
Assume that the second entered number is bigger than the first. You cannot use Python's gcd function.
DO NOT COPY PASTE INTERNET SEARCH RESULTS DIRECTLY TO YOUR CODE