DEV Community

Palak Hirave
Palak Hirave

Posted on

Day 4 of 100

Today I learnt about the random module and its various use cases and functions. I skimmed through the Python documentation and played around using some of the most common functions such as random.randint(). I then went on to learn about another data type, the list. I understood the offset and appending items to lists as wells a modifying, removing and mixing items in a list. I also practiced using nested lists and how to resolve IndexErrors. For today's project I built a rock, paper, scissors game and stumbled on the World Rock Paper Scissors Association. I did end up having a good laugh at that as who knows such a common and simple game can have its own global association with strategies, competitions and prizes?

Top comments (1)

Collapse
 
jorge_david_17b7776402d0a profile image
Jorge David

Great πŸ˜ƒ