Can you have a list inside a tuple

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:

value1 value 2 value 3 more value even more value

if you just want to print the keys:

print("\n".join(nvts.keys()))

outputs

high medium low log