print(max(float(input("Enter a decimal number: ")),float(input("Enter a decimal number: "))))
This would be the simplest way to do it. Best of luck.
6.3m questions
8.3m answers