Given two numbers you will have to check whether the first number is greater than or less than or equals to the second number.
Example 1:
Input:
A = 90
B = 5
Output:
90 is greater than 5.
Explanation:
Since A > B
So we print 90 is greater than 5.
Example 2:
Input:
A = 182
B = 234
Output:
182 is less than 234.
Explanation:
Since A < B
So we print 182 is less than 234.
Your Task:  
You don't need to read inputs. Your task is to complete the function relationalOperators() which takes two integers A and B and 
	If A > B then print "A is greater than B" without quotes
	If A < B then print "A is less than B" without quotes
	if A = B then print "A is equal to B" without quotes
Expected Time Complexity: O(1)
Expected Auxiliary Space: O(1)
Constraints:
1<= A,B <=10^{9}

Source: geeksforgeeks | Difficulty: EASY

Starter code: #User function Template for python3
class Solution:
    def relationalOperators(self, A, B):
        # code here

Solutions:
class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(str(A) + ' is greater than ' + str(B))
		elif A < B:
			print(str(A) + ' is less than ' + str(B))
		else:
			return print(str(A) + ' is equal to ' + str(B))


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(A, 'is greater than', B)
		elif A < B:
			print(A, 'is less than', B)
		else:
			print(A, 'is equals to', B)


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print('{} is greater than {}'.format(A, B))
		if A < B:
			print('{} is less than {}'.format(A, B))
		if A == B:
			print('{} is equal than {}'.format(A, B))


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			res = '%d is greater than %d' % (A, B)
		elif A < B:
			res = '%d is less than %d' % (A, B)
		elif A == B:
			res = '%d is equals to %d' % (A, B)
		print(res)


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(str(A) + ' is greater than ' + str(B))
		if A < B:
			print(str(A) + ' is less than ' + str(B))
		if A == B:
			print(str(A) + ' is equal to ' + str(B))


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(A, 'is greater than', B, sep=' ')
		elif A < B:
			print(A, 'is less than', B, sep=' ')
		elif A == B:
			print(A, 'is equal to', B, sep=' ')


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(A, 'is greater than', B)
		else:
			print(A, 'is less than', B)


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print('{0} is greater than {1}'.format(A, B))
		elif A < B:
			print('{0} is less than {1}'.format(A, B))
		else:
			print('{0} is equal to {1}'.format(A, B))


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			print(A, 'is greater than', B)
		elif A < B:
			print(A, 'is less than', B)
		else:
			print(A, 'is equal to', B)
if __name__ == '__main__':
	t = int(input())
	for i in range(t):
		(A, B) = map(int, input().strip().split())
		obj = Solution()
		obj.relationalOperators(A, B)


class Solution:

	def relationalOperators(self, A, B):
		if A > B:
			a = str(A)
			b = str(B)
			c = a + ' ' + 'is greater than' + ' ' + b
			print(c)
		else:
			a = str(A)
			b = str(B)
			c1 = a + ' ' + 'is less than' + ' ' + b
			print(c1)


class Solution:

	def relationalOperators(self, A, B):
		result = '{} is greater than {}'
		result1 = '{} is less than {}'
		if A > B:
			print(result.format(A, B))
		else:
			print(result1.format(A, B))


class Solution:

	def relationalOperators(self, A, B):
		txt1 = '{} is greater than {}'.format(A, B)
		txt2 = '{} is less than {}'.format(A, B)
		txt3 = '{} is equal to {}'.format(A, B)
		if A > B:
			print(txt1)
		elif A < B:
			print(txt2)
		else:
			print(txt3)