From 9b952384a57df0e7942254d12887997b7227ac41 Mon Sep 17 00:00:00 2001 From: Matheus Felipe <50463866+matheusfelipeog@users.noreply.github.com> Date: Sun, 6 Feb 2022 17:41:24 -0300 Subject: [PATCH] Fix int assignment in Python F-Strings (Since Python 3.6+) --- python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python.md b/python.md index fbf1eeb..cd1faef 100644 --- a/python.md +++ b/python.md @@ -458,7 +458,7 @@ Python F-Strings (Since Python 3.6+) {.cols-3} >>> f"Hello, {website}" "Hello, Quickref.ME" ->>> num = 1num = 100 +>>> num = 10 >>> f'{num} + 10 = {num + 10}' '10 + 10 = 20'