Write a Python program to return the greatest common divisor between two numbers.
num1 = 15
num2 = 25
def gcd(num1, num2):
while num2 != 0:
   temp = num1
   num1 = num2
   num2 = temp % num2
return num1

print(gcd(num1,num2))