import math print(f"円周率は{math.pi}です") y = math.sin(math.pi/4) print(f"sin(π/4)は{y}です") # プログラム5-6(mathモジュールの利用)