I am a beginner in Python and have several exercises to resolve.
One of these is:
"Define a dictionary w/ keys "abc", "xyz" and values [1, 2, 3] and [9, 10, 11]; iterate over all values (lists) and raise to the power of 4 each element of each list and print to screen"
...and I am bit lost. I could define a function that raises the power of each element in a list, but I do not know how to do it in a dictionary :(
This is where I am stuck:
dex = {"abc":[1,2,3],"xyz":[9,10,11]}
for x in dex.values():
print(x)