name = input("氏名は?") p = int(input("成績ポイントの合計は?")) c = int(input("総取得単位数は?")) print(f"{name}さんのGPAは{p/c:.2f}です!") # プログラム4-20(GPA ②)