Day 4 of 100

Published: (January 3, 2026 at 07:04 PM EST)
1 min read
Source: Dev.to

Source: Dev.to

Random module

Today I learned about the random module and its various use cases and functions. I skimmed through the Python documentation and experimented with some of the most common functions, such as random.randint().

Lists

I then moved on to another data type: the list. I explored how to:

  • Access items using offsets
  • Append items to a list
  • Modify, remove, and reorder items
  • Work with nested lists and resolve IndexErrors

Project: Rock, Paper, Scissors

For today’s project I built a simple rock‑paper‑scissors game. While researching, I discovered the World Rock Paper Scissors Association and had a good laugh at the idea that such a common and simple game can have its own global association, complete with strategies, competitions, and prizes.

Back to Blog

Related posts

Read more »