fork download
  1. Y=lambda u:'${:,.2f}'.format(float(u[1:].translate([{44:''},{44:46,46:''}]['€'in u]))*{'€':1.1,'£':1.37,'¥':.15}[u[0]])
  2. exec('print(Y(input()));'*4)
Success #stdin #stdout 0.03s 9984KB
stdin
€1,37
£4.00
¥2,782,122.78
€2.156,45
stdout
$1.51
$5.48
$417,318.42
$2,372.09