Question: ( Six - sided Die ) Write a program called die.py that simulates the roll of a six - sided die, and writes to standard
Sixsided Die Write a program called die.py that simulates the roll of a sixsided die, and writes to standard
output the pattern on the top face.
Set value to a random integer ; set output to an appropriate string based on value; The string format is
where each is either a space or a For example, if value the string should be
Write output.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
