I didn't quite understand whether you want the values for each key, if so something like:
nvts = {"high": [], "medium": ["value1"], "low": ["value 2","value 3"], "log": ["more value", "even more value"]} print["\n".join[[item for sublist in nvts.values[] for item in sublist]]]outputs:
if you just want to print the keys:
print["\n".join[nvts.keys[]]]outputs
high medium low log