Posted By

dfornazari on 04/24/15


Tagged


Versions (?)

ex 2-3


 / Published in: Python
 

lista 2 ex 3

  1. __author__ = '9442883'
  2. import math
  3. import time
  4. print "Conversor de moedas\n"
  5.  
  6. din = float(input("Inserir valor total (reais): "))
  7.  
  8. print "\nValores convertidos para moedas estrangeiras:\n"
  9. dol = round((din/1.80),2)
  10. mar = round((din/2),2)
  11. lib = round((din/1.57),2)
  12.  
  13. print "Dolares", dol
  14. print "\nMarcos alemaes", mar
  15. print "\nLibras Esterlinas", lib

Report this snippet  

You need to login to post a comment.