Escolar Documentos
Profissional Documentos
Cultura Documentos
3. S = str
5.
BASE = 9
ALTURA = 6
print (AREA_TRIANGULO)
27.0
6.
VALOR_HORA = 14.25
HORAS_TRAB = 163
HORAS_EXTRA = 20
print (SAL_BRUTO)
2892.75
(Com 3 variáveis)
ou
VALOR_HORA = 14.25
HORAS_TRAB = 163
HORAS_EXTRA = 20
VALOR_EXTRA = VALOR_HORA * 2
print (SAL_BRUTO)
2892.75
(Com 4 variáveis)
7.
A=4
B=5
C=1
R = (A + B) / 2
print (R)
4.5
R = (3 * A + 2 * B) / (A + B)
print (R)
2.4444444444444446
print (x)
-0.25
Z = 7.6 * A - B ** 1.7
print (Z)
14.974153431999758