I am a beginner in phyton and would like to ask someone to look at my code, I just can't figure out what is wrong with it.
num1 = input("Please give me a number")
num2 = input("Please provide the other number")
min = min(num1,num2)
maxDivisor = 0
for x in range(1, min+1):
if (int(num1) % x == 0) and (int(num2) % x ==0):
maxDivisor = x
print("This is the biggest common divisor: " + str(maxDivisor))