Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver1
5いいね 89 views回再生

Python 3's f-Strings

Python 3's f-Strings: An Improved String Formatting Syntax
As of Python 3.6, f-strings are a great new way to format strings. Not only are they more readable, more concise, and less prone to error than other ways of formatting, but they are also faster!
Also called “formatted string literals,” f-strings are string literals that have an f at the beginning and curly braces containing expressions that will be replaced with their values.

コメント