try printing the dominoes variable
print(dominoes)
Jupyter automatically prints the output when you write a variable name in one line, but it is not the case in other shell or IDEs. you need to explicitly tell them to print the output on screen