f-string (Formatted String) Python 3.6以降よりサポート。 文字列をフォーマットする方法はいくつかあるが、2022年時点では最も新しくてわかりやすく、可読性も高い書き方。 以下のように記述する。
Python is widely known for its simplicity and readability. With each new version, Python continues to introduce features that enhance these qualities, making code cleaner and more efficient. One such ...