From 4c7b9f161fcbec9f4f18becb8f98bb111b33e576 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:40 +0000 Subject: [PATCH 01/97] New translations .keep (Romanian) --- ro-RO/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ro-RO/solutions/.keep diff --git a/ro-RO/solutions/.keep b/ro-RO/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ro-RO/solutions/.keep @@ -0,0 +1 @@ + From 61d143fb3f71c519757b2af0702538beadf30ae6 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:41 +0000 Subject: [PATCH 02/97] New translations .keep (Portuguese) --- pt-PT/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 pt-PT/solutions/.keep diff --git a/pt-PT/solutions/.keep b/pt-PT/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pt-PT/solutions/.keep @@ -0,0 +1 @@ + From fd7c9511d6329b94157ce7fb50dfd4819fc1e13e Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:42 +0000 Subject: [PATCH 03/97] New translations step_1.md (Serbian (Cyrillic)) --- sr-SP/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sr-SP/step_1.md diff --git a/sr-SP/step_1.md b/sr-SP/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/sr-SP/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 4564d03c91de22e204b26d5fed3c247c8fd69f76 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:44 +0000 Subject: [PATCH 04/97] New translations meta.yml (Serbian (Cyrillic)) --- sr-SP/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sr-SP/meta.yml diff --git a/sr-SP/meta.yml b/sr-SP/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/sr-SP/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 571ba181a7da942c460886a4e0d7e83687f5dac2 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:45 +0000 Subject: [PATCH 05/97] New translations .keep (Serbian (Cyrillic)) --- sr-SP/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 sr-SP/solutions/.keep diff --git a/sr-SP/solutions/.keep b/sr-SP/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sr-SP/solutions/.keep @@ -0,0 +1 @@ + From d4cf3c3c88b8646366b97b55cf5c88d88964063b Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:46 +0000 Subject: [PATCH 06/97] New translations step_1.md (Russian) --- ru-RU/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ru-RU/step_1.md diff --git a/ru-RU/step_1.md b/ru-RU/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ru-RU/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 13e60707b423456c1b52bf79338194e110a59f9a Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:48 +0000 Subject: [PATCH 07/97] New translations meta.yml (Russian) --- ru-RU/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ru-RU/meta.yml diff --git a/ru-RU/meta.yml b/ru-RU/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ru-RU/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 72c9391913c27e81adff42a1e824633eb40aaad0 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:49 +0000 Subject: [PATCH 08/97] New translations .keep (Russian) --- ru-RU/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ru-RU/solutions/.keep diff --git a/ru-RU/solutions/.keep b/ru-RU/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ru-RU/solutions/.keep @@ -0,0 +1 @@ + From c58630d2f321943e541d110b8847a7847aa32ba5 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:50 +0000 Subject: [PATCH 09/97] New translations step_1.md (Portuguese) --- pt-PT/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pt-PT/step_1.md diff --git a/pt-PT/step_1.md b/pt-PT/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/pt-PT/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 38c54690337ccb4c7979a8da1aabc2f4f572dd77 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:51 +0000 Subject: [PATCH 10/97] New translations meta.yml (Portuguese) --- pt-PT/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pt-PT/meta.yml diff --git a/pt-PT/meta.yml b/pt-PT/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/pt-PT/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From eb258b874f04db0cd5b74ae2822fb85ea7849e5f Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:53 +0000 Subject: [PATCH 11/97] New translations step_1.md (Polish) --- pl-PL/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pl-PL/step_1.md diff --git a/pl-PL/step_1.md b/pl-PL/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/pl-PL/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 80550667fefa92ec78ad4f2ac2144115e144de9c Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:54 +0000 Subject: [PATCH 12/97] New translations meta.yml (Swedish) --- sv-SE/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sv-SE/meta.yml diff --git a/sv-SE/meta.yml b/sv-SE/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/sv-SE/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 698245049833156ef397f80e00904b8c9b3a37b0 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:55 +0000 Subject: [PATCH 13/97] New translations meta.yml (Polish) --- pl-PL/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pl-PL/meta.yml diff --git a/pl-PL/meta.yml b/pl-PL/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/pl-PL/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From fb05cabd29c343eab3046058d4b3a7888be3fb5b Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:56 +0000 Subject: [PATCH 14/97] New translations .keep (Polish) --- pl-PL/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 pl-PL/solutions/.keep diff --git a/pl-PL/solutions/.keep b/pl-PL/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pl-PL/solutions/.keep @@ -0,0 +1 @@ + From c7fb203f046e216a9d8f02abcbad5ae833893cbc Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:58 +0000 Subject: [PATCH 15/97] New translations step_1.md (Norwegian) --- no-NO/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 no-NO/step_1.md diff --git a/no-NO/step_1.md b/no-NO/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/no-NO/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From fb939eb6adca2d3e82b02de8b1d514959fe39549 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:48:59 +0000 Subject: [PATCH 16/97] New translations meta.yml (Norwegian) --- no-NO/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 no-NO/meta.yml diff --git a/no-NO/meta.yml b/no-NO/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/no-NO/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From cba6ffdcce75738ea994af60bd34b67d0b8a7839 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:00 +0000 Subject: [PATCH 17/97] New translations .keep (Norwegian) --- no-NO/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 no-NO/solutions/.keep diff --git a/no-NO/solutions/.keep b/no-NO/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/no-NO/solutions/.keep @@ -0,0 +1 @@ + From 38f1d7874188de548078db0091ca8b2e698ac1c4 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:02 +0000 Subject: [PATCH 18/97] New translations step_1.md (Dutch) --- nl-NL/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 nl-NL/step_1.md diff --git a/nl-NL/step_1.md b/nl-NL/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/nl-NL/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From c269a4b9d2807325dce626dc61bedeb13fa7d94c Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:03 +0000 Subject: [PATCH 19/97] New translations meta.yml (Dutch) --- nl-NL/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nl-NL/meta.yml diff --git a/nl-NL/meta.yml b/nl-NL/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/nl-NL/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From b8e1721ceadb4b119111082dd46b8d9d6bb449dc Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:04 +0000 Subject: [PATCH 20/97] New translations .keep (Dutch) --- nl-NL/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 nl-NL/solutions/.keep diff --git a/nl-NL/solutions/.keep b/nl-NL/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/nl-NL/solutions/.keep @@ -0,0 +1 @@ + From 8f03a7951fd9ae59ecf0e52d855a36656d9e7ede Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:05 +0000 Subject: [PATCH 21/97] New translations .keep (Swedish) --- sv-SE/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 sv-SE/solutions/.keep diff --git a/sv-SE/solutions/.keep b/sv-SE/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/sv-SE/solutions/.keep @@ -0,0 +1 @@ + From 760a662c966f0175f390bccfc833113867a8472e Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:07 +0000 Subject: [PATCH 22/97] New translations step_1.md (Swedish) --- sv-SE/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sv-SE/step_1.md diff --git a/sv-SE/step_1.md b/sv-SE/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/sv-SE/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 0803110998b8fbb379db3bcb9e7028c200a890b0 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:08 +0000 Subject: [PATCH 23/97] New translations meta.yml (Korean) --- ko-KR/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ko-KR/meta.yml diff --git a/ko-KR/meta.yml b/ko-KR/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ko-KR/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From a436cf01706154d0451b93f55e179e07094a1441 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:09 +0000 Subject: [PATCH 24/97] New translations step_1.md (Chinese Traditional) --- zh-TW/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zh-TW/step_1.md diff --git a/zh-TW/step_1.md b/zh-TW/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/zh-TW/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From abf14a50f8f8c9ad86ba3870690d97dae281f37d Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:11 +0000 Subject: [PATCH 25/97] New translations meta.yml (Portuguese, Brazilian) --- pt-BR/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pt-BR/meta.yml diff --git a/pt-BR/meta.yml b/pt-BR/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/pt-BR/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 4c312c916e11711c2326510ddc16e556e6757418 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:12 +0000 Subject: [PATCH 26/97] New translations .keep (Portuguese, Brazilian) --- pt-BR/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 pt-BR/solutions/.keep diff --git a/pt-BR/solutions/.keep b/pt-BR/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pt-BR/solutions/.keep @@ -0,0 +1 @@ + From 3e3b0c04eb03929de5191c07c5a65ec744504d1e Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:13 +0000 Subject: [PATCH 27/97] New translations step_1.md (Vietnamese) --- vi-VN/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vi-VN/step_1.md diff --git a/vi-VN/step_1.md b/vi-VN/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/vi-VN/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From a288c36250bb74e4c29f2ed05cc67f6953eb1822 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:14 +0000 Subject: [PATCH 28/97] New translations meta.yml (Vietnamese) --- vi-VN/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 vi-VN/meta.yml diff --git a/vi-VN/meta.yml b/vi-VN/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/vi-VN/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From cab2eecae422a6ed1248fcfb3a6ce4a89e703c14 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:15 +0000 Subject: [PATCH 29/97] New translations .keep (Vietnamese) --- vi-VN/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 vi-VN/solutions/.keep diff --git a/vi-VN/solutions/.keep b/vi-VN/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/vi-VN/solutions/.keep @@ -0,0 +1 @@ + From 733c7d31339624899a6fdbbb7aa182d8b816f16a Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:17 +0000 Subject: [PATCH 30/97] New translations step_1.md (English) --- en-US/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 en-US/step_1.md diff --git a/en-US/step_1.md b/en-US/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/en-US/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From f2e036cc1d128f401fbcf025356ab3ed11dfac07 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:18 +0000 Subject: [PATCH 31/97] New translations meta.yml (English) --- en-US/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 en-US/meta.yml diff --git a/en-US/meta.yml b/en-US/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/en-US/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From e4c7e2b21aff30a7cef691f3bf7a0d538c14a3f0 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:19 +0000 Subject: [PATCH 32/97] New translations .keep (English) --- en-US/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 en-US/solutions/.keep diff --git a/en-US/solutions/.keep b/en-US/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/en-US/solutions/.keep @@ -0,0 +1 @@ + From 18c2c001580255799ce5bc6ca816966e99bb378c Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:20 +0000 Subject: [PATCH 33/97] New translations meta.yml (Chinese Traditional) --- zh-TW/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 zh-TW/meta.yml diff --git a/zh-TW/meta.yml b/zh-TW/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/zh-TW/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 7311f8d0ac0270235e4d9b61bfa0d9029cab5244 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:21 +0000 Subject: [PATCH 34/97] New translations .keep (Turkish) --- tr-TR/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 tr-TR/solutions/.keep diff --git a/tr-TR/solutions/.keep b/tr-TR/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/tr-TR/solutions/.keep @@ -0,0 +1 @@ + From 6d662353e2d91a2dac578c4135f175ea916edb57 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:22 +0000 Subject: [PATCH 35/97] New translations .keep (Chinese Traditional) --- zh-TW/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 zh-TW/solutions/.keep diff --git a/zh-TW/solutions/.keep b/zh-TW/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/zh-TW/solutions/.keep @@ -0,0 +1 @@ + From d920718edfa9975ff003d1d2400e7444700422af Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:24 +0000 Subject: [PATCH 36/97] New translations step_1.md (Chinese Simplified) --- zh-CN/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 zh-CN/step_1.md diff --git a/zh-CN/step_1.md b/zh-CN/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/zh-CN/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From f1b9fd48c48a7b4c156df0ab721593dfad6559a9 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:25 +0000 Subject: [PATCH 37/97] New translations meta.yml (Chinese Simplified) --- zh-CN/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 zh-CN/meta.yml diff --git a/zh-CN/meta.yml b/zh-CN/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/zh-CN/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From e019bef175a4c140658ece893f526b10a6210307 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:26 +0000 Subject: [PATCH 38/97] New translations .keep (Chinese Simplified) --- zh-CN/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 zh-CN/solutions/.keep diff --git a/zh-CN/solutions/.keep b/zh-CN/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/zh-CN/solutions/.keep @@ -0,0 +1 @@ + From 6e67f12c6291cac23a070aaf53cbfe5d43d54b6a Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:27 +0000 Subject: [PATCH 39/97] New translations step_1.md (Ukrainian) --- uk-UA/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 uk-UA/step_1.md diff --git a/uk-UA/step_1.md b/uk-UA/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/uk-UA/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 2185732ae8b41456752c276f00b36d81c8721499 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:28 +0000 Subject: [PATCH 40/97] New translations meta.yml (Ukrainian) --- uk-UA/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 uk-UA/meta.yml diff --git a/uk-UA/meta.yml b/uk-UA/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/uk-UA/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From d68f2f2faf4e94efd366a35ee1d2be9f6ac726ea Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:30 +0000 Subject: [PATCH 41/97] New translations .keep (Ukrainian) --- uk-UA/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 uk-UA/solutions/.keep diff --git a/uk-UA/solutions/.keep b/uk-UA/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/uk-UA/solutions/.keep @@ -0,0 +1 @@ + From 885fc22e0850f3bf11d3ad787263cedb678041da Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:31 +0000 Subject: [PATCH 42/97] New translations step_1.md (Turkish) --- tr-TR/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tr-TR/step_1.md diff --git a/tr-TR/step_1.md b/tr-TR/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/tr-TR/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 8f895a10dfd8eb23119d10f03d31d138b93e9c59 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:32 +0000 Subject: [PATCH 43/97] New translations meta.yml (Turkish) --- tr-TR/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tr-TR/meta.yml diff --git a/tr-TR/meta.yml b/tr-TR/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/tr-TR/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 84fdc435ef90cb811b9b31372bb17ce87d80aed7 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:33 +0000 Subject: [PATCH 44/97] New translations step_1.md (Korean) --- ko-KR/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ko-KR/step_1.md diff --git a/ko-KR/step_1.md b/ko-KR/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ko-KR/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 7e72633258c5b2512c3fbffd575bf097c4d2b6b1 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:34 +0000 Subject: [PATCH 45/97] New translations .keep (Korean) --- ko-KR/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ko-KR/solutions/.keep diff --git a/ko-KR/solutions/.keep b/ko-KR/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ko-KR/solutions/.keep @@ -0,0 +1 @@ + From 95e17f8668a81f9ceefd940050527fe2e658caab Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:36 +0000 Subject: [PATCH 46/97] New translations meta.yml (Romanian) --- ro-RO/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ro-RO/meta.yml diff --git a/ro-RO/meta.yml b/ro-RO/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ro-RO/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From b5d5050b718eb2e78323d4114441fbc3b4319491 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:37 +0000 Subject: [PATCH 47/97] New translations .keep (Arabic) --- ar-SA/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ar-SA/solutions/.keep diff --git a/ar-SA/solutions/.keep b/ar-SA/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ar-SA/solutions/.keep @@ -0,0 +1 @@ + From 2f504f868556c92f3d8d791db6247def3e2f0d32 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:38 +0000 Subject: [PATCH 48/97] New translations step_1.md (Czech) --- cs-CZ/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cs-CZ/step_1.md diff --git a/cs-CZ/step_1.md b/cs-CZ/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/cs-CZ/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 2b0a4cbe89a686b8508268b556fa03ec801a86fb Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:39 +0000 Subject: [PATCH 49/97] New translations meta.yml (Czech) --- cs-CZ/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cs-CZ/meta.yml diff --git a/cs-CZ/meta.yml b/cs-CZ/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/cs-CZ/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 3514d37506dd746d0d8d09a077c4ce6638487377 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:40 +0000 Subject: [PATCH 50/97] New translations .keep (Czech) --- cs-CZ/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 cs-CZ/solutions/.keep diff --git a/cs-CZ/solutions/.keep b/cs-CZ/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/cs-CZ/solutions/.keep @@ -0,0 +1 @@ + From b2be775e12732348d68c960b3ff39f4bd02ec348 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:42 +0000 Subject: [PATCH 51/97] New translations step_1.md (Catalan) --- ca-ES/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ca-ES/step_1.md diff --git a/ca-ES/step_1.md b/ca-ES/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ca-ES/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 7d8bbf10dc7526fd61beb8c2e5d3b086c84761d6 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:43 +0000 Subject: [PATCH 52/97] New translations meta.yml (Catalan) --- ca-ES/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ca-ES/meta.yml diff --git a/ca-ES/meta.yml b/ca-ES/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ca-ES/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 1a0aa1c7eee6e1fa572a299d8cdf325727986ec7 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:44 +0000 Subject: [PATCH 53/97] New translations .keep (Catalan) --- ca-ES/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ca-ES/solutions/.keep diff --git a/ca-ES/solutions/.keep b/ca-ES/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ca-ES/solutions/.keep @@ -0,0 +1 @@ + From f08ced47d041fca91b54ecc31f5ac36836687320 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:46 +0000 Subject: [PATCH 54/97] New translations step_1.md (Arabic) --- ar-SA/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ar-SA/step_1.md diff --git a/ar-SA/step_1.md b/ar-SA/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ar-SA/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From be7a46a44fdd98ebf7bb0985975e774b5dd683bd Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:47 +0000 Subject: [PATCH 55/97] New translations meta.yml (Arabic) --- ar-SA/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ar-SA/meta.yml diff --git a/ar-SA/meta.yml b/ar-SA/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ar-SA/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 89f2070c6578e9aaf50343b1c38ac24bdb6e6099 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:48 +0000 Subject: [PATCH 56/97] New translations step_1.md (Afrikaans) --- af-ZA/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 af-ZA/step_1.md diff --git a/af-ZA/step_1.md b/af-ZA/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/af-ZA/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 735ecfd8a6d01019177254d8d5dc30034d1d811a Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:49 +0000 Subject: [PATCH 57/97] New translations meta.yml (Danish) --- da-DK/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 da-DK/meta.yml diff --git a/da-DK/meta.yml b/da-DK/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/da-DK/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From d8571ad03b141e4d9c7c61ffea80cce417bbebc1 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:51 +0000 Subject: [PATCH 58/97] New translations meta.yml (Afrikaans) --- af-ZA/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 af-ZA/meta.yml diff --git a/af-ZA/meta.yml b/af-ZA/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/af-ZA/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 779744dfbf88af5beecbbb0184e2e1d1722a47e4 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:52 +0000 Subject: [PATCH 59/97] New translations .keep (Afrikaans) --- af-ZA/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 af-ZA/solutions/.keep diff --git a/af-ZA/solutions/.keep b/af-ZA/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/af-ZA/solutions/.keep @@ -0,0 +1 @@ + From 82bbf16ba3898eea9f3432b54caae9cf4d6b85be Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:53 +0000 Subject: [PATCH 60/97] New translations step_1.md (Spanish) --- es-ES/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 es-ES/step_1.md diff --git a/es-ES/step_1.md b/es-ES/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/es-ES/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 1ca256a383fd13d33a8baea846cde4364e8a0dbf Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:54 +0000 Subject: [PATCH 61/97] New translations meta.yml (Spanish) --- es-ES/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 es-ES/meta.yml diff --git a/es-ES/meta.yml b/es-ES/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/es-ES/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From aa8ca1b494ddc1928f8371cbc7482f3e395df4da Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:55 +0000 Subject: [PATCH 62/97] New translations .keep (Spanish) --- es-ES/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 es-ES/solutions/.keep diff --git a/es-ES/solutions/.keep b/es-ES/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/es-ES/solutions/.keep @@ -0,0 +1 @@ + From 49758bf7efa5998d1a5f6112508206bde5c89d53 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:56 +0000 Subject: [PATCH 63/97] New translations step_1.md (French) --- fr-FR/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fr-FR/step_1.md diff --git a/fr-FR/step_1.md b/fr-FR/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/fr-FR/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From ab590d6eefa41181ce00a4ac4ef967c2d3f32d43 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:58 +0000 Subject: [PATCH 64/97] New translations meta.yml (French) --- fr-FR/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 fr-FR/meta.yml diff --git a/fr-FR/meta.yml b/fr-FR/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/fr-FR/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 539b808dd2f9f6ab256f678e7e45d11eec1214bd Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:49:59 +0000 Subject: [PATCH 65/97] New translations .keep (French) --- fr-FR/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 fr-FR/solutions/.keep diff --git a/fr-FR/solutions/.keep b/fr-FR/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/fr-FR/solutions/.keep @@ -0,0 +1 @@ + From 95ed8618a33816aaf8774014cbff76564926b488 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:00 +0000 Subject: [PATCH 66/97] New translations step_1.md (Romanian) --- ro-RO/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ro-RO/step_1.md diff --git a/ro-RO/step_1.md b/ro-RO/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ro-RO/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From c9f8d8a7f409ab65121216a649bca99712c44701 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:01 +0000 Subject: [PATCH 67/97] New translations .keep (Danish) --- da-DK/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 da-DK/solutions/.keep diff --git a/da-DK/solutions/.keep b/da-DK/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/da-DK/solutions/.keep @@ -0,0 +1 @@ + From ccc693d6f3274d1b7b6588c4df9be1a3efcdc609 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:03 +0000 Subject: [PATCH 68/97] New translations step_1.md (Danish) --- da-DK/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 da-DK/step_1.md diff --git a/da-DK/step_1.md b/da-DK/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/da-DK/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 0e757a191de933ee2aa805f43543562c80c46230 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:04 +0000 Subject: [PATCH 69/97] New translations step_1.md (Japanese) --- ja-JP/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ja-JP/step_1.md diff --git a/ja-JP/step_1.md b/ja-JP/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/ja-JP/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 53d381eb9101a926eb9aef8638c19f15ff83586c Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:06 +0000 Subject: [PATCH 70/97] New translations step_1.md (Hebrew) --- he-IL/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 he-IL/step_1.md diff --git a/he-IL/step_1.md b/he-IL/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/he-IL/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 14d395916d3c2a8ba5724b67f44e9d9857bca72e Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:07 +0000 Subject: [PATCH 71/97] New translations meta.yml (Japanese) --- ja-JP/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ja-JP/meta.yml diff --git a/ja-JP/meta.yml b/ja-JP/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/ja-JP/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 01b988f63f21bfe407bbd8223b926564c1d496ee Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:09 +0000 Subject: [PATCH 72/97] New translations .keep (Japanese) --- ja-JP/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 ja-JP/solutions/.keep diff --git a/ja-JP/solutions/.keep b/ja-JP/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/ja-JP/solutions/.keep @@ -0,0 +1 @@ + From a3377cfa21314987daa35454cb86143913e28356 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:11 +0000 Subject: [PATCH 73/97] New translations step_1.md (Italian) --- it-IT/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 it-IT/step_1.md diff --git a/it-IT/step_1.md b/it-IT/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/it-IT/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 5ecf2fa4b87d8c17c55834eba7d0556e856895b6 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:12 +0000 Subject: [PATCH 74/97] New translations meta.yml (Italian) --- it-IT/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 it-IT/meta.yml diff --git a/it-IT/meta.yml b/it-IT/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/it-IT/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 05a61ec74a49d51fd60efa72c4a2ac7d623e96af Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:13 +0000 Subject: [PATCH 75/97] New translations .keep (Italian) --- it-IT/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 it-IT/solutions/.keep diff --git a/it-IT/solutions/.keep b/it-IT/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/it-IT/solutions/.keep @@ -0,0 +1 @@ + From 945c55e25646e30fdbb7d48e2f7f8c9e6cddab79 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:14 +0000 Subject: [PATCH 76/97] New translations step_1.md (Hungarian) --- hu-HU/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hu-HU/step_1.md diff --git a/hu-HU/step_1.md b/hu-HU/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/hu-HU/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 2cc005fc0f611e02407ed430110672fe78f20559 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:16 +0000 Subject: [PATCH 77/97] New translations meta.yml (Hungarian) --- hu-HU/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hu-HU/meta.yml diff --git a/hu-HU/meta.yml b/hu-HU/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/hu-HU/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 0d685d3a651c1b05fddb6c407f4b2f522c6f1c01 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:17 +0000 Subject: [PATCH 78/97] New translations .keep (Hungarian) --- hu-HU/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 hu-HU/solutions/.keep diff --git a/hu-HU/solutions/.keep b/hu-HU/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/hu-HU/solutions/.keep @@ -0,0 +1 @@ + From 5855a227f018d2d6812db5d50ddbf6f22f686075 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:18 +0000 Subject: [PATCH 79/97] New translations meta.yml (Hebrew) --- he-IL/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 he-IL/meta.yml diff --git a/he-IL/meta.yml b/he-IL/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/he-IL/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 4ce6fd1062dfcb02ac38f94f11fd5f3f407d9847 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:19 +0000 Subject: [PATCH 80/97] New translations .keep (German) --- de-DE/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 de-DE/solutions/.keep diff --git a/de-DE/solutions/.keep b/de-DE/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/de-DE/solutions/.keep @@ -0,0 +1 @@ + From 446bf7853f869dc58227d719ee6a1a0df9396e69 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:20 +0000 Subject: [PATCH 81/97] New translations .keep (Hebrew) --- he-IL/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 he-IL/solutions/.keep diff --git a/he-IL/solutions/.keep b/he-IL/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/he-IL/solutions/.keep @@ -0,0 +1 @@ + From df2d4683df7bb5429148a13783d28e428866d67f Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:22 +0000 Subject: [PATCH 82/97] New translations step_1.md (Finnish) --- fi-FI/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fi-FI/step_1.md diff --git a/fi-FI/step_1.md b/fi-FI/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/fi-FI/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 5a957ed293d11deb4ac4c7904d04c684ccb04f2b Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:23 +0000 Subject: [PATCH 83/97] New translations meta.yml (Finnish) --- fi-FI/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 fi-FI/meta.yml diff --git a/fi-FI/meta.yml b/fi-FI/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/fi-FI/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From c227c6dc80aac71dee319672725c55eebbe633f2 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:24 +0000 Subject: [PATCH 84/97] New translations .keep (Finnish) --- fi-FI/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 fi-FI/solutions/.keep diff --git a/fi-FI/solutions/.keep b/fi-FI/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/fi-FI/solutions/.keep @@ -0,0 +1 @@ + From 672a848c274e2531ec6059be96cb3874b461ba70 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:25 +0000 Subject: [PATCH 85/97] New translations step_1.md (Greek) --- el-GR/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 el-GR/step_1.md diff --git a/el-GR/step_1.md b/el-GR/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/el-GR/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 631586ca55b3ad9cae8398d302bf27c9354c4698 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:27 +0000 Subject: [PATCH 86/97] New translations meta.yml (Greek) --- el-GR/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 el-GR/meta.yml diff --git a/el-GR/meta.yml b/el-GR/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/el-GR/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 7522fd280f76ca7031b6de8622ed8f20f38bc147 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:28 +0000 Subject: [PATCH 87/97] New translations .keep (Greek) --- el-GR/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 el-GR/solutions/.keep diff --git a/el-GR/solutions/.keep b/el-GR/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/el-GR/solutions/.keep @@ -0,0 +1 @@ + From 227f436587e4a186972126bc414f13ac26a81244 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:29 +0000 Subject: [PATCH 88/97] New translations step_1.md (German) --- de-DE/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 de-DE/step_1.md diff --git a/de-DE/step_1.md b/de-DE/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/de-DE/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 96530038e9aa0a002dd874edc257d15e01247126 Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:30 +0000 Subject: [PATCH 89/97] New translations meta.yml (German) --- de-DE/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 de-DE/meta.yml diff --git a/de-DE/meta.yml b/de-DE/meta.yml new file mode 100644 index 0000000..00fcec4 --- /dev/null +++ b/de-DE/meta.yml @@ -0,0 +1,17 @@ +--- +title: Using the mod operator in Python +hero_image: images/banner.png +description: Learn how the mod operator is used in Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: The modulo operator From 96043b94d0d4d50d1b910b94993a0dbab46ead9e Mon Sep 17 00:00:00 2001 From: ninaszymor <33628387+ninaszymor@users.noreply.github.com> Date: Tue, 3 Mar 2020 08:50:32 +0000 Subject: [PATCH 90/97] New translations step_1.md (Portuguese, Brazilian) --- pt-BR/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pt-BR/step_1.md diff --git a/pt-BR/step_1.md b/pt-BR/step_1.md new file mode 100644 index 0000000..7a8c364 --- /dev/null +++ b/pt-BR/step_1.md @@ -0,0 +1,18 @@ +The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. + +```python +remainder = 5 % 2 +print(remainder) + +>> 1 +``` + +The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. + +You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: + +```python +test_number = 50 +if test_number % 5 == 0: + print("This is a multiple of 5") +``` From 8dd3f81ce058f8bcd47e9cabc4d07c46a5528b45 Mon Sep 17 00:00:00 2001 From: majamanojlovic <49232422+majamanojlovic@users.noreply.github.com> Date: Sun, 26 Apr 2020 11:51:08 +0100 Subject: [PATCH 91/97] New translations meta.yml (Dutch) --- nl-NL/meta.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nl-NL/meta.yml b/nl-NL/meta.yml index 00fcec4..524dab3 100644 --- a/nl-NL/meta.yml +++ b/nl-NL/meta.yml @@ -1,7 +1,7 @@ --- -title: Using the mod operator in Python +title: De mod operator gebruiken in Python hero_image: images/banner.png -description: Learn how the mod operator is used in Python +description: Leer hoe de mod operator wordt gebruikt in Python original_url: theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow duration: 1 #possible values: 1, 2 or 3 @@ -14,4 +14,4 @@ technologies: "python" site_areas: steps: - - title: The modulo operator + title: De modulo operator From da1b649380aa5d2a3804a27fe376aba5e5b22097 Mon Sep 17 00:00:00 2001 From: majamanojlovic <49232422+majamanojlovic@users.noreply.github.com> Date: Sun, 26 Apr 2020 11:51:09 +0100 Subject: [PATCH 92/97] New translations step_1.md (Dutch) --- nl-NL/step_1.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/nl-NL/step_1.md b/nl-NL/step_1.md index 7a8c364..4fc0a4d 100644 --- a/nl-NL/step_1.md +++ b/nl-NL/step_1.md @@ -1,18 +1,18 @@ -The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. +De modulo of mod operator deelt het ene getal door het andere en retourneert de rest. Het symbool van deze operator is `%`. ```python -remainder = 5 % 2 -print(remainder) +rest = 5 % 2 +print(rest) >> 1 ``` -The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. +De berekening `5 / 2` wordt uitgevoerd en de rest wordt terug weergegeven. In dit geval gaat 2 tweemaal in 5, waarbij 1 overblijft als de rest. Het resultaat is dus 1. -You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: +Je kunt mod gebruiken om te controleren of een getal een veelvoud is van een ander getal. Als dit het geval is, is de rest 0, zoals in dit voorbeeld: ```python -test_number = 50 -if test_number % 5 == 0: - print("This is a multiple of 5") +test_getal = 50 +if test_getal % 5 == 0: + print("Dit is een veelvoud van 5") ``` From 27b683ddcbfc4e591abed99392445fc30f3b0b8b Mon Sep 17 00:00:00 2001 From: majamanojlovic <49232422+majamanojlovic@users.noreply.github.com> Date: Fri, 5 Mar 2021 14:22:30 +0000 Subject: [PATCH 93/97] New translations .keep (Spanish, Latin America) --- es-LA/solutions/.keep | 1 + 1 file changed, 1 insertion(+) create mode 100644 es-LA/solutions/.keep diff --git a/es-LA/solutions/.keep b/es-LA/solutions/.keep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/es-LA/solutions/.keep @@ -0,0 +1 @@ + From 6d585a1abbf8d625db04e5f144dd27ebe62ee9f9 Mon Sep 17 00:00:00 2001 From: majamanojlovic <49232422+majamanojlovic@users.noreply.github.com> Date: Fri, 5 Mar 2021 14:22:32 +0000 Subject: [PATCH 94/97] New translations meta.yml (Spanish, Latin America) --- es-LA/meta.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 es-LA/meta.yml diff --git a/es-LA/meta.yml b/es-LA/meta.yml new file mode 100644 index 0000000..3555b54 --- /dev/null +++ b/es-LA/meta.yml @@ -0,0 +1,17 @@ +--- +title: Usando el operador mod en Python +hero_image: images/banner.png +description: Aprende cómo se utiliza el operador mod en Python +original_url: +theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow +duration: 1 #possible values: 1, 2 or 3 +listed: false +ingredient: true +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: "" +technologies: "python" +site_areas: +steps: + - + title: El operador modulo From 322fc5536c4740dd02dcd31fa1c6593134c5b1da Mon Sep 17 00:00:00 2001 From: majamanojlovic <49232422+majamanojlovic@users.noreply.github.com> Date: Fri, 5 Mar 2021 14:23:37 +0000 Subject: [PATCH 95/97] New translations step_1.md (Spanish, Latin America) --- es-LA/step_1.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 es-LA/step_1.md diff --git a/es-LA/step_1.md b/es-LA/step_1.md new file mode 100644 index 0000000..a3d7c0b --- /dev/null +++ b/es-LA/step_1.md @@ -0,0 +1,18 @@ +El módulo o el operador mod divide un número por otro y devuelve el residuo. El símbolo de este operador es `%`. + +```python +residuo = 5 % 2 +print(residuo) + +>> 1 +``` + +El cálculo `5 / 2` es ejecutado, y se devuelve el residuo. En este caso, 2 cabe en 5 dos veces, con 1 como el residuo. Por lo tanto, el resultado es 1. + +Puedes usar mod para comprobar si un número es un múltiplo de otro número. Si es así, el residuo será 0, como en este ejemplo: + +```python +numero_de_prueba = 50 +if numero_de_prueba % 5 == 0: + print("Este es un múltiplo de 5") +``` From b8af704cd7c29226dadd897a63d29667a8653323 Mon Sep 17 00:00:00 2001 From: Sasha Mishcheriakova <135987917+sashamishcheriakova@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:57:08 +0000 Subject: [PATCH 96/97] New translations meta.yml (French) --- fr-FR/meta.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fr-FR/meta.yml b/fr-FR/meta.yml index 00fcec4..c92447a 100644 --- a/fr-FR/meta.yml +++ b/fr-FR/meta.yml @@ -1,7 +1,7 @@ --- -title: Using the mod operator in Python +title: Utiliser l'opérateur mod en Python hero_image: images/banner.png -description: Learn how the mod operator is used in Python +description: Apprendre comment l'opérateur mod est utilisé en Python original_url: theme: red #possible values: blue, green, navy, orange, red, turquoise, violet, yellow duration: 1 #possible values: 1, 2 or 3 @@ -14,4 +14,4 @@ technologies: "python" site_areas: steps: - - title: The modulo operator + title: L'opérateur modulo From 5ed443e1d72a17a5508a560ae2019ea93eadec49 Mon Sep 17 00:00:00 2001 From: Sasha Mishcheriakova <135987917+sashamishcheriakova@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:57:41 +0000 Subject: [PATCH 97/97] New translations step_1.md (French) --- fr-FR/step_1.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fr-FR/step_1.md b/fr-FR/step_1.md index 7a8c364..0a17ac6 100644 --- a/fr-FR/step_1.md +++ b/fr-FR/step_1.md @@ -1,18 +1,18 @@ -The modulo or mod operator divides one number by another and returns the remainder. The symbol of this operator is `%`. +L'opérateur modulo, ou mod, divise un nombre par un autre et renvoie le reste. Le symbole de cet opérateur est `%`. ```python -remainder = 5 % 2 -print(remainder) +reste = 5 % 2 +print(reste) >> 1 ``` -The calculation `5 / 2` is performed, and the remainder is returned. In this case, 2 goes into 5 twice, with 1 left over as the remainder. Hence, the result is 1. +Le calcul `5 / 2` est effectué, et le reste est renvoyé. Dans ce cas, on peut mettre deux fois 2 dans 5, et il reste 1. Le résultat est donc 1. -You can use mod to check whether a number is a multiple of another number. If it is, the remainder will be 0, like in this example: +Tu peux utiliser mod pour vérifier si un nombre est un multiple d'un autre nombre. Si c'est le cas, le reste sera 0, comme dans cet exemple : ```python -test_number = 50 -if test_number % 5 == 0: - print("This is a multiple of 5") +nombre_test = 50 +if nombre_test % 5 == 0 : + print("Ce nombre est un multiple de 5") ```