Hello I want to make text align so that it looks nicer. I want to print keys and corrsponding values from a dictionary.
for word in sorted(dict.keys()):
print(f'{word}: {dict[word]}')
however this prints it like this
a: 4
c: 2
k: 444
I want it like this:
a: 4
c: 2
k: 444