Fix int assignment in f-Strings (Python 3.6+)

This commit is contained in:
Matheus Felipe authored and GitHub committed 2022-02-06 17:28:17 -03:00
1 parent e6a350a39a
commit fa88a3f093
1 file changed
+2 -2
+2 -2
View File
@@ -156,14 +156,14 @@ message += "Part 2."
>>> f"Hello, {website}"
"Hello, Quickref.ME"
>>> num = 1num = 100
>>> num = 10
>>> f'{num} + 10 = {num + 10}'
'10 + 10 = 20'
```
See: [Python F-Strings](#python-f-strings-since-python)
Python Data Types {.cols-3}
---------------