Challenge 1: Random Dice Roller — Possible Solution ==================================================================== import random def roll_dice(): return random.randint(1, 6) print(roll_dice()) Output (will vary each run): 4 WHY THIS WORKS AS AN ANSWER ------------------------------ import random reuses the exact standard-library import pattern shown in the chapter's own random.randint(1, 10) example. random.randint(1, 6) is inclusive on BOTH ends, matching the chapter's own note that random.randint(1, 10) is "1 to 10, inclusive" — so calling it with (1, 6) correctly models a standard six-sided die, capable of returning 1, 2, 3, 4, 5, or 6, never 0 or 7. Wrapping the call in a function, def roll_dice(): return random.randint(1, 6), reuses the def/return mechanics from Chapter 8 — the function itself doesn't need any parameters, since a die roll doesn't depend on any input, only on the random module's internal state each time it's called.