Просмотр исходного кода

Correction: f-strings were introduced in Python 3.6

https://cito.github.io/blog/f-strings/
Swaroop C H 7 лет назад
Родитель
Сommit
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