梦里花落0921
a = int(input('Please input the first number:'))b = int(input('Please input the second number:')) def func(a, b): if a > b: print('{0} A={1} B={2}'.format("A>B", a, b)) elif a < b: print(print('{0} A={1} B={2}'.format("A<B", a, b))) else: print(print('{0} A={1} B={2}'.format("A==B", a, b))) func(a, b)