Given two numbers, one is Indian format I and another in international format W, check if they re equal.
Just remove the commas from the numbers,
and check if W == I, if yes, then print equal,
otherwise, print different
T = int(input()) for z in range(T): international_number, indian_number = input().split() international_number = international_number.replace(",","") indian_number = indian_number.replace(",","") #print(indian_number, international_number) if indian_number == international_number: print("equal") else: print("different")