补充以下代码以实现如下功能: rate= eval(input("Enter the exchange rate from dollars to RMB: ")) 1 2 dollars = eval(input("Enter the dollar amount: ")) RMB = dollars * rate print("${0:.2f} is {1:.2f} Yuan".format(dollars, RMB)) 3 RMB = eval(input("Enter the RMB amount: ")) dollars = RMB / rate print("{0:.2f} Yuan is ${1:.2f}".format(RMB, dollars)) else: print("Incorrect input")