Back
Close

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

danielamaksoud
1,873 views

Welcome!

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

p = 10000; # principal (capital inicial)
i = (2.5)/100; # taxa de juros
n = 12 # número de períodos
m = (p*(1+(i*n)))**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

Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants