Информатика, вопрос задал kamila634 , 2 года назад

ПОМОГИТЕ ПОЖАЛУЙСТА!

Приложения:

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

Ответил nikdissv
1

Код:

import math

import mathdef get_P(a, b, c):

import mathdef get_P(a, b, c): P = (a+b+c)/2

import mathdef get_P(a, b, c): P = (a+b+c)/2 return P

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P):

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c))

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return S

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())c = int(input("c: ").strip())

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())c = int(input("c: ").strip())P = get_P(a, b, c)

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())c = int(input("c: ").strip())P = get_P(a, b, c)S = get_S(a, b, c, P)

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())c = int(input("c: ").strip())P = get_P(a, b, c)S = get_S(a, b, c, P)print("P =", P)

import mathdef get_P(a, b, c): P = (a+b+c)/2 return Pdef get_S(a, b, c, P): S = math.sqrt(P*(P - a)*(P - b)*(P - c)) return Sa = int(input("a: ").strip())b = int(input("b: ").strip())c = int(input("c: ").strip())P = get_P(a, b, c)S = get_S(a, b, c, P)print("P =", P)print("S =", S)

Новые вопросы