Skip to content

Commit f96a4fc

Browse files
authored
Merge pull request #340 from hexlet-basics/remove-replit
remove replit
2 parents 4c51d42 + 9a8e273 commit f96a4fc

File tree

106 files changed

+4
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+4
-148
lines changed

drafts/25-strings/15-escape-characters/description.en.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,4 @@ definitions:
107107
description: "a special combination of characters in text. For example, \\n — is a line feed."
108108

109109
tips:
110-
- Be sure to experiment with printing different strings on the site [https://replit.com/languages/python3](https://replit.com/languages/python3)
111110
- "[Line feed history](https://en.wikipedia.org/wiki/Newline)"

drafts/30-variables/15-variables-expressions/description.en.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ theory: |
3939
print(who)
4040
```
4141
42-
This code will display the string `dragon's mother`. If you want to check it yourself, run the code on [repl.it](https://replit.com/languages/python3) and experiment with it.
43-
4442
Variables can be used to write even more complex calculations. Now, back to our currency program. Let's write the dollar value in rubles as a separate variable. Let's calculate the value of 50 euros in dollars by multiplying it by `1.25`. Suppose that 1 dollar is 60 rubles:
4543
4644
```python

drafts/45-logic/90-logical-expressions/description.en.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ theory: |
103103
print(somefunc() and 'yes' or 'no')
104104
```
105105
106-
You can check yourself and experiment with the code in [Replit](https://replit.com/@hexlet/python-basics-logical-expressions).
107-
108106
## Double Negation
109107
110108
Recall what the operation of negation looks like:
@@ -137,7 +135,7 @@ theory: |
137135
value == ('first' or 'second')
138136
```
139137
140-
However, such a code will lead to the wrong result. It is necessary to remember the priority of operations. The first thing is to calculate everything specified in brackets - `'first' or ` second'`. If you execute this code in Replit, the output will be as follows:
138+
However, such a code will lead to the wrong result. It is necessary to remember the priority of operations. The first thing is to calculate everything specified in brackets - `'first' or ` second'`.
141139
142140
```bash
143141
python
@@ -178,8 +176,6 @@ instructions: |
178176
isinstance(3, str) # False
179177
isinstance('Hexlet', str) # True
180178
```
181-
182-
Experiment with the code in the interactive replay https://replit.com/@hexlet/python-basics-logical-expressions
183179
184180
# tips:
185181
# - |

drafts/50-loops/28-build-string/description.en.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ theory: |
4242
* `index = index - 1` - update the counter
4343
* `return reversed_string` - when the loop is done, return the result string
4444
45-
We advise you to copy this function into the REPL [https://replit.com/languages/python3](https://replit.com/languages/python3) and experiment with it a little.
46-
4745
When working with strings, programmers often make the mistake of going past string boundaries. If a wrong initial counter value is chosen or a mistake is made in a loop predicate, the function may access a character that doesn't exist.
4846
4947
It's also extremely often forgotten that the index of the last element is always one less than the size of the string. In strings, the initial index is `0`, so the index of the last element is `len(str) - 1`.

drafts/50-loops/70-for/description.en.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ theory: |
6464
chars_count('hexlet!', 'a') # 0
6565
```
6666
67-
# We suggest experimenting with the examples above in the interactive [Replit](https://replit.com/@hexlet/python-basics-for-loop#main.py).
68-
6967
instructions: |
7068
7169
In a previous lesson, we already wrote the `filter_string()` function. Recall that it takes a string and a character as input and returns a new string in which the passed character at all its positions is removed. This time, implement this function using the `for` loop. An additional condition: the case of the character to be eliminated does not matter.

modules/10-basics/30-instructions/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ theory: |
1919
# => Dracarys!
2020
```
2121
22-
https://replit.com/@hexlet/python-basics-instructions
2322
2423
Anteriormente hemos señalado que las instrucciones se separan por saltos de línea. Pero también hay otra forma: se pueden separar por punto y coma (`;`):
2524

modules/10-basics/30-instructions/es/README.md

Lines changed: 0 additions & 1 deletion

modules/10-basics/50-syntax-errors/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ theory: |
1313
print('Hodor)
1414
```
1515
16-
https://replit.com/@hexlet/python-basics-syntax-errors
1716
1817
Si ejecutamos el código anterior, veremos el siguiente mensaje:
1918

modules/10-basics/50-syntax-errors/es/README.md

Lines changed: 0 additions & 1 deletion

modules/20-arithmetics/20-basic/description.es.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ theory: |
4646
print(3 ** 2) # => 9
4747
```
4848
49-
https://replit.com/@hexlet/python-basics-arithmetics-basics
5049
5150
A veces, para mayor comodidad, mostraremos el resultado de ejecutar líneas de código de esta manera en los comentarios: `=> RESULTADO`. Por ejemplo, `# => 4`.
5251

0 commit comments

Comments
 (0)