From de6da1ba7b18bb110f0c844705b8a3a10de80a69 Mon Sep 17 00:00:00 2001 From: Tawfiq Khalilieh Date: Mon, 22 Sep 2025 13:22:11 +0300 Subject: [PATCH] =?UTF-8?q?fix(curriculum):=20Clarifiy=20the=20explanation?= =?UTF-8?q?=20of=20Python=E2=80=99s=20`//`=20(floor=20division)=20operator?= =?UTF-8?q?.=20(#62297)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dario <105294544+Dario-DC@users.noreply.github.com> --- .../67fe859e9d3b3635197781c8.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/blocks/lecture-introduction-to-python/67fe859e9d3b3635197781c8.md b/curriculum/challenges/english/blocks/lecture-introduction-to-python/67fe859e9d3b3635197781c8.md index 175c0b69f63..4dc161ca5ec 100644 --- a/curriculum/challenges/english/blocks/lecture-introduction-to-python/67fe859e9d3b3635197781c8.md +++ b/curriculum/challenges/english/blocks/lecture-introduction-to-python/67fe859e9d3b3635197781c8.md @@ -146,7 +146,7 @@ print('Integer Modulus:', mod_ints) # Integer Modulus: 8 print('Float Modulus:', mod_floats) # Float Modulus: 1.1999999999999993 ``` -Floor division divides two numbers and rounds down the result to the nearest whole number. This is done with the double forward slash operator (`//`): +Floor division divides two numbers and returns the greatest integer less than or equal to the result. This is done with the double forward slash operator (`//`): ```python my_int_1 = 56 @@ -276,7 +276,7 @@ What does the double slash (`//`) operator do in Python? ## --answers-- -It performs floor division, rounding down the result to the nearest whole number. +It divides two numbers and returns the greatest integer less than or equal to the result. ---