Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Module2.5/home_work/[hw]01_task_while.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ n = 12
### Решение задачи

```python
# TODO: you code here...
cost = 9.99
quantity_of_products = 1
while quantity_of_products <=12:
print(quantity_of_products, cost * quantity_of_products, 'рублей')
quantity_of_products +=1
```