Created
December 26, 2022 11:58
-
-
Save hamaguchi-amago/34701d0f0028367eab89671599b10354 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import math | |
print(math.pi) | |
# 上書き | |
math.pi = 10 | |
print(math.pi) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ブログで作成しました。
【Python】プログラム中に定数を扱う注意点
https://neko-py.com/python-constants