From fa88a3f09387c8ef4d52b7c059c7dcd5a454722d Mon Sep 17 00:00:00 2001 From: Matheus Felipe <50463866+matheusfelipeog@users.noreply.github.com> Date: Sun, 6 Feb 2022 17:28:17 -0300 Subject: [PATCH] Fix int assignment in f-Strings (Python 3.6+) --- python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.md b/python.md index 62acb01..10cc7b7 100644 --- a/python.md +++ b/python.md @@ -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} ---------------