Skip to content

Commit e1f0a44

Browse files
committed
improve example
1 parent a97cda3 commit e1f0a44

File tree

1 file changed

+1
-1
lines changed
  • modules/30-variables/18-variable-concatenation/ru

1 file changed

+1
-1
lines changed

modules/30-variables/18-variable-concatenation/ru/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ print('Age: ' + str(age)) # ✅ Age: 42
5959

6060
```python
6161
price = 50 * 1.25 * 6.91 # => 431.875
62-
print('Price in yuans: ' + str(price)) #
62+
print('Price in yuans: ' + str(price)) # Price in yuans: 431.875
6363
```
6464

6565
Функция `str()` превращает любое значение (число, результат вычисления, булево и т.д.) в строку. Подробнее про функции мы поговорим в будущих уроках.

0 commit comments

Comments
 (0)