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

danielamaksoud
2,827 views

Open Source Your Knowledge, Become a Contributor

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

Create Content

Welcome!

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

p = 100000; # principal (capital inicial)
i = (4.17)/100; # taxa de juros
n = 1 # número de períodos
m = p*(1+(i*n)); # expressão do montante final
print(m);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

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