Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
print(m);
IO.inspect m
console.log(m);
console.table(m);
m.forEach((k, v) -> {
out.println(k + " = " + v);
});
print "$_: $m{$_}\n" for keys %m;
print(m)
class FormatMap(dict):
def __str__(self):
strings = []
for key, value in self.items():
strings.append(f'{key} = {value}')
return ', '.join(strings)
x = FormatMap(m)
print(x)
print(*m.items(), sep='\n')
puts m
println!("{:?}", m);