Skip to content

Weekly Python Learning Recap – Week 2

Posted on:April 28, 2025 at 07:04 PM

Continuing a set of journal entries where I’m working through Automate the Boring Stuff with Python to strengthen my logic and programming skills. Been in management for close to 6 years now and I’m beginning to feel my logic skills atrophy. I’m hoping that by working through this book on a weekly basis while practicing Leetcode-style questions will help sharpen those skills to the point of where I was 5 years ago.

I plan to keep a log here and continue to learn in public. I’ll be tracking the progress this Github repo.


🗓️ Dates Covered:


📚 What I Studied


🧠 What I Learned


🔁 Repeated Patterns or Skills Practiced


⚔️ Challenges I Faced


✅ Wins of the Week


🔮 What’s Next


🧾 Favorite Snippet of the Week

def pretty_print_spells(spells):
    pretty_spells = ""
    for category in spells:
      if(category == 'fire'):
          emoji = '🔥'
      elif (category == 'healing'):
          emoji = '❤️'
      else:
          emoji = '💫'
      pretty_spells += f"{emoji} {category.capitalize()}: \n"
      for spell, k in spells[category].items():
          pretty_spells += f"- {spell.capitalize()}: {k} \n"
    print(pretty_spells)