Here is my code:
num1= int(input('Enter the first number: '))
num2= int(input('Enter the second number: '))
def hcf(num1,num2):
if num2==0:
return num1
else:
return hcf(num2, num1%num2)
print('The highest common factor', (hcf))
hcf(num1, num2)
It is not printing like I thought it would. I need to find the highest common factor.