prog3_6.py

n = int(input("何角形ですか?"))
a = 180 * (n-2) / n
message = "正" + str(n) + "角形の1つの内角は" + str(a) + "度です!"
print(message)

# プログラム3-6(正n角形の内角)