“Unorderable types: int() < str()”
问题 I\'m trying to make a retirement calculator right now on Python. There\'s nothing wrong with the syntax but when I run the following program: def main(): print(\"Let me Retire Financial Calculator\") deposit = input(\"Please input annual deposit in dollars: $\") rate = input (\"Please input annual rate in percentage: %\") time = input(\"How many years until retirement?\") x = 0 value = 0 while (x < time): x = x + 1 value = (value * rate) + deposit print(\"The value of your account after\"