fork(2) download
  1. lanchonete = {"Salgado" : 4.5, "Lanche" : 16.5, "Suco" : 3, "Refrigerante" : 3.5, "Doce" : 1}
  2. for item in lanchonete:
  3. print("{0:20} {1:6.2f}".format(item, lanchonete[item]))
  4.  
  5. #https://pt.stackoverflow.com/q/341156/101
Success #stdin #stdout 0.01s 27712KB
stdin
Standard input is empty
stdout
Doce                   1.00
Refrigerante           3.50
Lanche                16.50
Suco                   3.00
Salgado                4.50