Python の学習と Eclipse + PyDev の使用は初めてです。プログラムが実行されない理由がわかりません。
これが私のコードです:
def main():
print("Testing")
test1 = float(input("Test1: "))
test2 = float(input("Test2: "))
test3 = float(input("Test3: "))
calculate_cost (test1, test2, test3)
def calculate_cost (test1, test2, test3):
print("Testing")
これを正しく実行するには、関数の一方または両方に何かが欠けていると思います。