chore(i18n,learn): processed translations (#49442)

This commit is contained in:
camperbot
2023-02-21 01:01:01 +05:30
committed by GitHub
parent f05bf7af9d
commit 69c40b31c4
476 changed files with 1409 additions and 1031 deletions

View File

@@ -13,12 +13,20 @@ Der <dfn>Rest</dfn>-Operator `%` gibt den Rest der Division von zwei Zahlen an.
**Beispiel**
<blockquote>5 % 2 = 1 weil<br>Math.floor(5 / 2) = 2 (Quotient)<br>2 * 2 = 4<br>5 - 4 = 1 (Rest)</blockquote>
<pre>
5 % 2 = 1
5 / 2 = 2 remainder 1
2 * 2 = 4
5 - 4 = 1
</pre>
**Verwendung**
In der Mathematik kann man prüfen, ob eine Zahl gerade oder ungerade ist, indem man den Rest der Division der Zahl durch `2` prüft.
**Usage**
In mathematics, a number can be checked to be even or odd by checking the remainder of the division of the number by `2`. Even numbers have a remainder of `0`, while odd numbers a remainder of `1`.
<blockquote>17 % 2 = 1 (17 ist ungerade)<br>48 % 2 = 0 (48 ist gerade)</blockquote>
<pre>
17 % 2 = 1
48 % 2 = 0
</pre>
**Hinweis:** Der <dfn>Rest</dfn>-Operator wird manchmal fälschlicherweise als Modulus-Operator bezeichnet. Es ist dem Modulus sehr ähnlich, funktioniert aber nicht richtig mit negativen Zahlen.
@@ -51,7 +59,9 @@ assert(/\s+?remainder\s*?=\s*?.*%.*;?/.test(code));
## --after-user-code--
```js
(function(y){return 'remainder = '+y;})(remainder);
(function (y) {
return 'remainder = ' + y;
})(remainder);
```
## --seed-contents--

View File

@@ -15,7 +15,7 @@ Ein weiterer Datentyp ist <dfn>Boolean</dfn>. Booleans können nur einen von zwe
# --instructions--
Ändere die Funktion `welcomeToBooleans` so, dass sie `true` statt `false` zurückgibt, wenn der Ausführen-Button geklickt wird.
Modify the `welcomeToBooleans` function so that it returns `true` instead of `false`.
# --hints--