prog4_16.py

name = input("氏名は?")
p = int(input("成績ポイントの合計は?"))
c = int(input("総取得単位数は?"))
print(f"{name}さんのGPAは{p/c}です!")

# プログラム4-16(GPA ①)