DEV Community

loading...
Cover image for Day 10 of 100DaysofCode: Secret Auction 🛎

Day 10 of 100DaysofCode: Secret Auction 🛎

fatihms profile image Fatih Mustafa Sağır ・1 min read

Hi there! Day 10 of #100daysofcode in Python.

I created a secret auction program in python code and learned about dictionaries and lists.

Dictionaries ✅

my_dict = {'name': 'Fatih', 'age': '15'}
Enter fullscreen mode Exit fullscreen mode

Nesting ✅

students = {1: {'name': 'Fatih', 'age': '25'},
          2: {'name': 'Mustafa', 'age': '19'}}

print(students[1]['name']) # print Fatih
Enter fullscreen mode Exit fullscreen mode

And today I built a secret auction game.

Project

Secret Auction 🛎

Alt Text

Here's the Github repo and repl.

Discussion (0)

pic
Editor guide