What's wrong with this code?
I am trying to calculate the Greatest Common Divisor (GCD) for every pair of numbers inputted. Thereafter, i want to ouput the numbers not separated by a comma, and there should be in a single output line with the GCD. I want my output to look like this (sample input & output for test case T = 4): 2, 1 GCD 1 3, 4 GCD 1 5, 5 GCD 5 10, 4 GCD 2 Please help. Here's my output for a trial i did on Jupyter(Anaconda). It gives an error where am i going wrong. Please help. here is a screenshot for the trial i ran on Jupyter: https://ibb.co/6sNqf1g (uploaded on imgbb Here is the full code: https://code.sololearn.com/cN1XtZxHOB35/?ref=app