Adamseidel ocr programming project dice

broken image

Ask for the user’s input using the built-in input() function.Use random.randint() to simulate dice-rolling events.

broken image

To do so, you’ll use Python’s random module. In this project, you’ll code an application that simulates dice-rolling events.

broken image

You’ll learn how to gather and validate the user’s input, import code from modules and packages, write functions, use for loops and conditionals, and neatly display output by using strings and the print() function. Building small projects, like a text-based user interface (TUI) dice-rolling application, will help you level up your Python programming skills.

broken image