浏览代码

Correction: f-strings were introduced in Python 3.6

https://cito.github.io/blog/f-strings/
Swaroop C H 7 年之前
父节点
当前提交
665f9a8a40
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      basics.md

+ 1 - 1
basics.md

@@ -153,7 +153,7 @@ print('Why is {name} playing with that python?'.format(name=name))
 
 which will give the same exact output as the previous program.
 
-Python 3.7 introduced a shorter way to do named parameters, called "f-strings":
+Python 3.6 introduced a shorter way to do named parameters, called "f-strings":
 
 ```python
 age = 20