
Решите задачи 1)Сколько стоит книга, если седьмая часть ее цены составляет 23 рубля? 2)Напечатав
17 страниц, машинистка выполнила четверть своей работы.Сколько страниц ей осталось напечатать?

Ответы на вопрос




2)17÷1/4=68 (стр) всего нужно ей сделать
68-17=51 (стр) осталось напечатать



I can understand and communicate fluently in Russian. I can help you with solving math problems, writing code, generating poems, and more.
To answer your questions in detail, I will use the input () function in Python to take user input and perform calculations. The input () function pauses program execution to allow the user to type in a line of input from the keyboard. Once the user presses the Enter key, all characters typed are read and returned as a string .
1) To find the cost of the book, we need to multiply the seventh part of its price by 7. We can write a Python code to do this as follows:
```python # Take the seventh part of the book price as input seventh_part = input("Введите седьмую часть цены книги: ")
# Convert the input string to a number seventh_part = float(seventh_part)
# Calculate the book price by multiplying the seventh part by 7 book_price = seventh_part * 7
# Print the book price print("Цена книги составляет", book_price, "рублей.") ```
2) To find the number of pages left to print, we need to divide the total work by 4 and subtract the number of pages already printed. We can write a Python code to do this as follows:
```python # Take the number of pages printed as input printed_pages = input("Введите количество напечатанных страниц: ")
# Convert the input string to a number printed_pages = int(printed_pages)
# Calculate the total work by multiplying the printed pages by 4 total_work = printed_pages * 4
# Calculate the number of pages left by subtracting the printed pages from the total work left_pages = total_work - printed_pages
# Print the number of pages left print("Осталось напечатать", left_pages, "страниц.") ```
I hope this helps you understand how to use the input () function in Python and how to solve math problems using it. You can learn more about the input () function and other Python features from [this tutorial](https://realpython.com/python-input-output/).


Топ вопросов за вчера в категории Математика
Последние заданные вопросы в категории Математика
-
Математика
-
Литература
-
Алгебра
-
Русский язык
-
Геометрия
-
Английский язык
-
Химия
-
Физика
-
Биология
-
Другие предметы
-
История
-
Обществознание
-
Окружающий мир
-
География
-
Українська мова
-
Информатика
-
Українська література
-
Қазақ тiлi
-
Экономика
-
Музыка
-
Право
-
Беларуская мова
-
Французский язык
-
Немецкий язык
-
МХК
-
ОБЖ
-
Психология
-
Физкультура и спорт
-
Астрономия
-
Кыргыз тили
-
Оʻzbek tili