Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Лабораторна робота №1 Стрельцов Ілля КМ-93,завдання №1")
- print("Введіть 1 число")
- a = float(input())
- print("Введіть 2 число")
- b = float(input())
- print("Введіть 3 число")
- c = float(input())
- d = a + b + c
- print("Середнє арифметичне =")
- print(d/3)
- e = 2 * (a + c) - 3 * b
- print("Різнця подвоєної суми першого і третього чисел і потроєного другого числа =")
- print(e)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement