{"id":520,"date":"2020-10-14T17:34:31","date_gmt":"2020-10-14T17:34:31","guid":{"rendered":"https:\/\/marshallbrain.com\/wordpress\/?page_id=520"},"modified":"2020-10-14T17:34:31","modified_gmt":"2020-10-14T17:34:31","slug":"python5","status":"publish","type":"page","link":"https:\/\/marshallbrain.com\/python5","title":{"rendered":"Marshall Brain\u2019s Quick and Easy Python Tutorials \u2013 Chapter 5"},"content":{"rendered":"\n

by Marshall Brain<\/a><\/p>\n\n\n\n

In the previous tutorial we simulated the process of flipping a coin. What if we want to simulate the idea of rolling dice? This program shows one way to do it:<\/p>\n\n\n\n