Exercício 26 da lista de Expressões Aritméticas e Variáveis em Python


Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content


This Python template lets you get started quickly with a simple one-page playground.

custo = 60;
lucro = 10;
impostos = 30;
custo = custo + custo*0.1;
impostos = impostos - impostos*0.2;
lucro = lucro/2;
valor_de_venda = custo+impostos+lucro;
print("O valor de venda atual e igual a", valor_de_venda);

Advanced usage

If you want a more complex example (external libraries, viewers...), use the Advanced Python template

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content