2 Respuestas
+ 1
For the dice rolling you can use random module.
For the histogram I would count how many occurences happened for each result, then print that many symbols in a line, like asterisks. That would be easiest in a text terminal. Or for better visualization you can also use other libraries like mathplotlib
0
Please show us your attempt.