Напишите программу, которая считывает три числа и выводит их сумму. Каждое число записано в отдельно
Python
# Считываем три числа
number1 = float(input("Введите первое число: "))
number2 = float(input("Введите второе число: "))
number3 = float(input("Введите третье число: "))
# Суммируем числа
sum_result = number1 + number2 + number3
# Выводим результат
print("Сумма введенных чисел:", sum_result)
Output
Embed on website
To embed this program on your website, copy the following code and paste it into your website's HTML:
Comments
This comment belongs to a banned user and is only visible to admins.
This comment belongs to a deleted user and is only visible to admins.