Exercício 21 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.

c = 3*10**8; # velocidade da luz
f = 4.6*10**14; # frequencia da cor vermelha
l = c/f; # calculo do comprimento de onda
print("O comprimento de onda da cor vermelha e igual a", l);

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