some = {'main': {'ONE': 'HELLO', 'TWO': 'WORLD'}, 'nomain': {}}
ONE HELLO
TWO WORLD
for i in some:
for p in some.values():
print(i + ' ' + p)
ONE HELLO
ONE WORLD
TWO HELLO
TWO WORLD
for dict_ in data.values():
for key, value in dict_.items():
print(f"{key}: {value}"