2つの数字の入力を求めて、それを実行して合計、製品、平均を出力するプログラムを作成しようとしています。私はプログラムを書いたが、それは合計か平均かプロダクトが必要となるたびに2つの数字の入力を求める。一度に2つの入力を1回だけ行うと、どのようにして3つすべてを一度に得ることができますかPythonでの合計/平均/製品
sum = int(input("Please enter the first Value: ")) + \
int(input("Please enter another number: "))
print("sum = {}".format(sum))
product = int(input("Please enter the first Value: ")) * \
int(input("Please enter another number: "))
print ("product = {}".format(product))