diff --git a/modules/20-arithmetics/20-basic/en/README.md b/modules/20-arithmetics/20-basic/en/README.md index c1b764b5..26b78f74 100644 --- a/modules/20-arithmetics/20-basic/en/README.md +++ b/modules/20-arithmetics/20-basic/en/README.md @@ -10,7 +10,7 @@ Arithmetic in programming is virtually the same as in school arithmetic. The code `3 + 4` will make the interpreter add the numbers and find the result. This program will work, but it makes no sense. In fact, we're not really giving the interpreter a command, we're just saying “oi, what's three plus four?” In real life, you need to do more than just tell the interpreter about the mathematical expression on its own. -For example, if you're creating an online store, you can't just ask the interpreter to calculate the cost of items in the shopping cart. You have to ask it to calculate the cost **И** show the price to the buyer. +For example, if you're creating an online store, you can't just ask the interpreter to calculate the cost of items in the shopping cart. You have to ask it to calculate the cost **and** show the price to the buyer. We need to ask the interpreter to calculate `3 + 4` **AND** give it an order to do something with the result. For example, print it: diff --git a/modules/20-arithmetics/43-float/en/README.md b/modules/20-arithmetics/43-float/en/README.md index f34fad8d..1c69bf65 100644 --- a/modules/20-arithmetics/43-float/en/README.md +++ b/modules/20-arithmetics/43-float/en/README.md @@ -7,6 +7,6 @@ In mathematics there are different kinds of numbers, for example, natural number The operation of adding two rational numbers suddenly results in an inaccurate calculation. The same result will be given by other programming languages. Such behavior is due to limitations of computing power. The memory capacity, unlike numbers, is finite (an infinite number of numbers requires an infinite amount of memory to store them). -Rational numbers are not lined up in a continuous chain, between *0.1* и *0.2* an infinite set of numbers. Accordingly, a serious problem arises, but how to store rational numbers? This is an interesting question in itself. There are many articles on the Internet devoted to organizing memory in such cases. Moreover, there is a standard which describes how to do this correctly, and an overwhelming number of languages rely on it. +Rational numbers are not lined up in a continuous chain, between *0.1* and *0.2* an infinite set of numbers. Accordingly, a serious problem arises, but how to store rational numbers? This is an interesting question in itself. There are many articles on the Internet devoted to organizing memory in such cases. Moreover, there is a standard which describes how to do this correctly, and an overwhelming number of languages rely on it. For us, as developers, it is important to understand that operations with floating numbers are inaccurate (this accuracy can be adjusted), which means that when solving problems involving such numbers, it is necessary to resort to special tricks that allow to achieve the necessary accuracy. diff --git a/modules/25-strings/10-quotes/en/README.md b/modules/25-strings/10-quotes/en/README.md index a29879bc..be2d5a31 100644 --- a/modules/25-strings/10-quotes/en/README.md +++ b/modules/25-strings/10-quotes/en/README.md @@ -13,7 +13,7 @@ The definition of a string is quite simple; it's a set of characters. Let us ima Which of these are strings? In fact, all five of them are: -* С `'Hello'` and `'Goodbye'` everything is obvious, we've already worked with similar constructions and called them strings +* With `'Hello'` and `'Goodbye'` everything is obvious, we've already worked with similar constructions and called them strings * `'G'` and `' '` — are also strings, but they only have one character each * `''` — is an empty string, so it has zero characters diff --git a/modules/31-advanced-strings/70-slices/en/README.md b/modules/31-advanced-strings/70-slices/en/README.md index f9b5edad..4a49572b 100644 --- a/modules/31-advanced-strings/70-slices/en/README.md +++ b/modules/31-advanced-strings/70-slices/en/README.md @@ -62,7 +62,7 @@ Slices have a third optional parameter - **extraction step**. By default it is o ```python value = 'Hexlet' value[1:5:2] # el -# 1:5 это 'exle' +# 1:5 is 'exle' # step 2 is every second, that is, 'e' and 'l' ``` diff --git a/modules/31-advanced-strings/90-multiline-strings/en/README.md b/modules/31-advanced-strings/90-multiline-strings/en/README.md index e32da7c0..235f798f 100644 --- a/modules/31-advanced-strings/90-multiline-strings/en/README.md +++ b/modules/31-advanced-strings/90-multiline-strings/en/README.md @@ -56,13 +56,13 @@ a = 'A' b = 'B' # On the left was added f -text = f'''{a} и {b} +text = f'''{a} and {b} sitting on a pipe ''' ``` ```text -А and B +A and B sitting on a pipe ``` diff --git a/modules/35-calling-functions/180-variadic-parameters/en/README.md b/modules/35-calling-functions/180-variadic-parameters/en/README.md index 475082b4..99892ae4 100644 --- a/modules/35-calling-functions/180-variadic-parameters/en/README.md +++ b/modules/35-calling-functions/180-variadic-parameters/en/README.md @@ -7,7 +7,7 @@ Some functions are a little different in that they take a variable number of par max(1, 10, 3) # 10 ``` -In the above example, the `max()` function finds the maximum value among the passed parameters. To find out how many parameters can be passed to the input, you need to look at the [documentation](https://docs.python.org/3/library/functions.html?highlight=pow#max) этой функции. Там мы увидим такую конструкцию: +In the above example, the `max()` function finds the maximum value among the passed parameters. To find out how many parameters can be passed to the input, you need to look at the [documentation](https://docs.python.org/3/library/functions.html?highlight=pow#max) of this function. There we'll see the following signature: ```python max(arg1, arg2, *args[, key]) diff --git a/modules/40-define-functions/150-return/en/README.md b/modules/40-define-functions/150-return/en/README.md index 96271158..9818b070 100644 --- a/modules/40-define-functions/150-return/en/README.md +++ b/modules/40-define-functions/150-return/en/README.md @@ -86,7 +86,7 @@ Here we don't return a variable. The value in this variable is always returned. ```python def double_five(): - # или return 5 + 5 + # or return 5 + 5 result = 5 + 5 return result ``` diff --git a/modules/40-define-functions/200-default-parameters/en/README.md b/modules/40-define-functions/200-default-parameters/en/README.md index d06fe4c6..6f0acbb0 100644 --- a/modules/40-define-functions/200-default-parameters/en/README.md +++ b/modules/40-define-functions/200-default-parameters/en/README.md @@ -38,9 +38,9 @@ def f(a=5, b=10, c=100): The default values have one limitation. They must go at the very end of the parameter list. From the syntax point of view, it is impossible to create a function with an optional parameter followed by a mandatory one: ```python -# Такой код завершится с ошибкой +# This code will fail with an error def f(a=5, b=10, c=100, x): -# And such a +# And this one too def f(a=5, b=10, x, c=100): # This code will work