Roll dice game using python jupyter


#1

Hi everybody

Ive made a program that randomly chose a number of dice from 1 to 6 (as long as we continu the game) then show an image of the dice with the chosen number after playing the dice roll sound using python jupyter but it shows nothing as result

Can anybody help me out ?

here is the program


#2

You can see next tot “Entrée” the prompt is stuck in “Executing” [*] state. This often is an indicator that:

  1. The kernel is stuck.
  2. Some anti-virus is blocking websocket.

Make sure you can first execute simple statement like ‘1+1’, and then move to more complex functions.


#3

actually i fixed that by using “from IPython.display import display” thank u for the answer