a = {"fred": 4, "wilma": 8} b = {"t-shirt": 6, "fred": 0}
print ", ".join(sorted(set(a).union(b))) or "<none>"