# Check whether a given number is Friendly pair or not '''Writea Python program to check whether a given number is Friendly pair ornot. or    Write a program to check whethera given number is Friendly pair or notusing Python '''print("Enter two numbers:")num1=int(input())num2=int(input())sum1=0sum2=0for i in range(1,num1):   if(num1%i==0):      sum1=sum1+ifor i in range(1,num2):   if(num2%i==0):      sum2=sum2+iif num1/num2==sum1/sum2:   print("It is a Friendly Pair")else:   print("It is not a Friendly Pair")