资讯

Python 3.14引入了全新的t-string语法,提供了一种创建可重用模板的机制,与f-string的即时求值特性形成了重要补充。
This change can make it easier for developers to write and read code that uses F strings. Python 3.12 also brings changes related to types and type annotations.
Furthermore, Python contains the notion of "slice-notation," meaning that the programmer can chose small sections of the string, called "substrings" to manipulate as well.