An Amygdala
Published in

An Amygdala

How to Simulate a Dice Roll and Guess the Result in Python

An introduction to the random module

Image Licensed from Adobe Stock

Pseudocode is a useful tool.

When you want to carry out a set of operations in Python, it’s a good strategy to first write out the necessary steps in pseudocode. While pseudocode is not a programming language, it is similar to one because it helps you break…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store