As the title suggests I wanted to enumerate the key and its values (without brackets) in python. I tried the following code :
example_dict = {'left':'<','right':'>','up':'^','down':'v',}
[print(i,j,a) for (i,j,a) in enumerate(example_dict.items())]
But it doesn't work. I want the output to be like this
0 left <
1 right >
2 up ^
3 down v
Thank you in advance