🚀 Day 3 of #freeCodeCamp: Building a "Poetry" Pin Extractor! 🕵️♂️ Today’s project was a fun exercise in string manipulation and nested iteration. I built a Python function that extracts hidden PINs from poems. The Logic: The code scans each poem and takes the length of a specific word from every line (Line 1 -> Word 1, Line 2 -> Word 2, etc.) to form a secret code. Key Technical Wins: ✅ Multi-line String Parsing: Using .split('\n') to break down text blocks. ✅ Index Safety: Implementing 'if' checks to ensure the code doesn't crash if a line is too short. ✅ Enumerate in Action: Using enumerate(lines) to perfectly sync the line number with the word index. It’s a great example of how simple logic can be used to "decode" hidden patterns in data. --- 💡 Question for the devs: In your early days of learning, what was the first "mini-tool" you built that actually worked? Onward to Day 4! 🛠️ #100DaysOfCode #Python #Programming #CodingChallenge #freeCodeCamp #BuildInPublic #SoftwareEngineering #StringManipulation
Building a Poetry Pin Extractor with Python
More Relevant Posts
-
🚀 Day 2 of #freeCodeCamp: Moving beyond the basics in Python! 🐍 Today was a deep dive into data structures and functional programming. I’m starting to see why Python is so powerful for data manipulation. Here’s what I tackled today: 🔹 Lists vs. Tuples: Understanding Mutability. Lists [] for flexible data and Tuples () for fixed, immutable sequences. 🔹 The Power of Iteration: Mastered 'for' loops and range(), but the real game-changers were: • Enumerate(): Accessing the index and value simultaneously (no more manual counters!). • Zip(): Sewing multiple lists together for parallel iteration. 🔹 Clean Code with List Comprehensions: I learned how to turn 4-line loops into a single, elegant line of code. It’s all about writing "Pythonic" code that is readable and efficient. 🔹 Lambda & Map: The concept of "anonymous functions" finally clicked! Using lambdas with the map() function makes transforming data feel like an assembly line. Every day the logic gets a little deeper, and the solutions get a little cleaner. --- 💡 Question for the devs: When you're writing Python, do you prefer the readability of a List Comprehension or the functional feel of a Map/Lambda? Onward to Day 3! 🛠️ #100DaysOfCode #Python #SoftwareEngineering #DataStructures #freeCodeCamp #BuildInPublic #CleanCode
To view or add a comment, sign in
-
-
🚀 Day 46 of My Coding Journey Today’s challenge was: Anagram Groups 🔤🧩 The task was to group words that are anagrams of each other — meaning they contain the same letters, just in a different order. 💡 Example: ["listen", "silent", "enlist"] → All belong to the same group 💡 Approach I used: • Sorted each word alphabetically to create a unique key • Used a dictionary to group words with the same sorted key • Stored all matching words together as anagrams • Returned all grouped values as a list 🧠 Key Learnings: Using sorting as a powerful technique for pattern matching Efficient use of dictionaries (hash maps) Improved understanding of grouping problems Learned a common interview pattern for string manipulation This is a very popular interview problem and a great way to strengthen logic building 💻🔥 🔗 GitHub Code: https://lnkd.in/gECUw9iz @freeCodeCamp #freeCodeCamp #Python #100DaysOfCode #CodingJourney #ProblemSolving #Algorithms #LearnInPublic #Developers
To view or add a comment, sign in
-
🚀 I Built My Own Problem-Solving Dashboard While learning Python, I didn’t just want to solve problems… I wanted to track my growth like a developer 💻 So, I built my own Problem-Solving Dashboard 📊 🔹 What it tracks: • Problems Solved (48+) • Time Spent Coding (34+ hours) • Learning Progress & Levels • Daily Streak 🔥 • XP & Achievements 💡 Why I built this: Most learners just consume tutorials… But I wanted to measure my consistency, discipline, and progress 🧠 What I learned from this project: ✅ Real learning happens when you build ✅ Consistency is more powerful than talent ✅ Tracking progress keeps you accountable 🎯 What’s next: • Reach 100+ problems solved • Upgrade dashboard with more features • Build more real-world projects This is just the beginning of my developer journey 🚀 If you're learning to code, don’t just learn — build and track your progress #Python #WebDevelopment #BuildInPublic #CodingJourney #StudentDeveloper #Projects #LearningByDoing
To view or add a comment, sign in
-
-
🚀 Day 8: Modules & Packages in Python As your code grows, managing everything in a single file becomes messy and hard to maintain. 👉 That’s where Modules and Packages come in. They help you organize your code into smaller, reusable, and manageable parts. 🔹 What is a Module? A module is simply a Python file that contains functions, variables, or classes. Example: import math print(math.sqrt(16)) 🔹 What is a Package? A package is a collection of multiple modules organized in directories. 📂 Think of it like: 👉 Folder = Package 👉 Files inside = Modules 🔹 Why use Modules & Packages? ✔ Improve code organization ✔ Promote reusability ✔ Make large projects manageable ✔ Help in team collaboration 📌 Real-world connection: Frameworks like Django and libraries like React projects (via APIs) heavily rely on modular structure. If your code is not organized, scaling becomes difficult. 💡 Writing code is easy organizing it professionally is what makes you a real developer. 📈 Step by step, building industry-level skills. #Python #Programming #Developers #Coding #BackendDevelopment #Django #SoftwareEngineering #LearningJourney
To view or add a comment, sign in
-
-
🚀 Day 85 – Final Optimization & Portfolio-Ready Project Preparation Continuing my journey in the 90 Days of Python Full Stack, today I focused on the final stage — optimizing the project and preparing it for portfolio showcase. After building, testing, and documenting the system, the goal was to refine everything and present it as a complete, professional product. 🔹 Work completed today • Cleaned and refactored code for better readability • Removed unused code and optimized performance • Improved final UI and overall presentation • Prepared project demo (screenshots / walkthrough) • Organized project structure for GitHub 🔹 System Workflow Review entire project ⬇ Refactor and optimize code ⬇ Enhance UI and presentation ⬇ Prepare demo and documentation ⬇ Make project portfolio-ready 🔹 Why this step is important This step transforms the project into a professional showcase. With this implementation: ✔ Clean and maintainable codebase ✔ Ready for interviews and portfolio ✔ Better performance and presentation ✔ Strong impression on recruiters 📌 Day 85 completed — optimized the project and prepared it for portfolio showcase. #90DaysOfPython #PythonFullStack #ProjectOptimization #PortfolioProject #SoftwareDevelopment #LearningInPublic #DeveloperJourney
To view or add a comment, sign in
-
🚀 From Learning Python to Building Real Projects — My Journey Continues Most people stop at “learning syntax.” But real growth starts when you go beyond basics. Here’s what I’ve been diving into lately: 🔹 Building dynamic web apps using Flask & Jinja templates 🔹 Managing user sessions, authentication & database operations 🔹 Writing cleaner, scalable code with decorators & type hints 🔹 Optimizing performance using generators & async programming 🔹 Structuring projects like a professional developer 🔹 Writing tests (unittest & pytest) — because code without tests is just a gamble One key realization 👇 👉 Python isn’t just a language, it’s an ecosystem. From web development to automation, from APIs to scalable systems — everything connects when you focus on concepts, not just code. 💡 My current approach: Learn → Build → Break → Fix → Repeat Because: “Tutorials make you comfortable. Projects make you capable.” If you're learning Python right now, don’t just watch — build something. #Python #WebDevelopment #Flask #Programming #LearningInPublic #Developers #CodingJourney
To view or add a comment, sign in
-
📘 Django Notes – Quick Revision Sheet 🚀 Here’s a clean, handwritten-style summary of key Django concepts: ✔️ What is Django ✔️ MVT Architecture (Model-View-Template) ✔️ Key Features (ORM, Admin Panel, URL Routing) ✔️ Setup Commands ✔️ Important Exam Points 💡 Great for students, beginners, and quick revision before exams or interviews. 🔥 Tip: Focus on MVT architecture and ORM — these are frequently asked in exams and interviews! 🚀 Follow for more coding notes and programming content. #Django #Python #WebDevelopment #Programming #Coding #StudentLife #LearnDjango #ExamPreparation
To view or add a comment, sign in
-
-
🚀 Back to Basics… but with a Purpose. Ever felt like you’ve been using tools without fully understanding how they actually work? That’s exactly why I decided to revisit my fundamentals. I’m currently working in a technical role, and recently I completed revising my Python basics. Now, I’ve started my journey into Web Development (HTML, CSS, JavaScript) to strengthen my core and build more practical skills. These are my routine research notes as I continue learning 📘 💡 What I learned today: Today I explored Python dependency management—something every developer uses, but not everyone deeply understands. pip + venv → The standard way to install packages and keep project environments isolated Poetry → A modern tool that simplifies dependency management and project setup Conda → Goes beyond Python and handles system-level dependencies (like C/C++ libraries and compilers) Understood why some libraries fail with pip but work smoothly with Conda Learned how environment isolation prevents conflicts between projects 🔑 Key Takeaways: Choosing the right tool depends on the project Isolation is essential for stable development Not all dependencies are Python-based Strong fundamentals reduce future debugging time Simplicity is powerful—but understanding is critical 🌍 Real-World Relevance: In real projects, dependency issues can break your workflow or deployment. Understanding these concepts helps in: Avoiding version conflicts Building reproducible environments Creating reliable and scalable applications This learning phase is helping me shift from just using tools to actually understanding the systems behind them. 💭 What’s one fundamental concept you revisited recently that changed your perspective? If you're also on a learning journey, let’s connect and grow together 🤝 #Python #WebDevelopment #LearningJourney #CareerGrowth #Coding #FrontendDevelopment #Developers #TechSkills #ContinuousLearning
To view or add a comment, sign in
-
-
🚀 Day 27 of My Coding Journey Today, I solved the Spiral Matrix 🌀 problem using Python and Visual Studio Code. The challenge was to traverse a 2D matrix in a clockwise spiral order, starting from the top-left corner and moving layer by layer inward. This problem really tested my ability to think in patterns and manage matrix traversal efficiently. 🔍 Key highlights: • Traversed matrix in 4 directions → right, down, left, up • Used a layer-by-layer approach to shrink the matrix • Applied list operations like pop() for cleaner logic • Ensured all elements are visited exactly once 💡 Key learnings: Improved understanding of 2D arrays and traversal techniques Learned how to break complex problems into smaller steps Strengthened logical thinking and pattern recognition Spiral traversal is a commonly asked problem in coding interviews and helps build strong problem-solving skills (Intervue) Consistency is the real game changer — one problem at a time 🚀 🔗 GitHub Code: https://lnkd.in/g9DBR5Ey @freeCodeCamp #freeCodeCamp #Python #100DaysOfCode #CodingJourney #ProblemSolving #Developers #LearningByDoing
To view or add a comment, sign in
-
A simple lesson I learned while working with Django: Good project structure saves hours of debugging later. When I first started building Django apps, I used to put everything anywhere just to “make it work.” The views got messy. Files became hard to manage. Debugging became painful. Over time I learned that organizing code properly matters as much as writing it. What helped me most: • Keeping views clean and focused • Separating business logic when possible • Using meaningful file/folder names • Structuring templates/static files properly Clean code doesn’t just help others read your project— it helps future you understand it too. Still improving at this every project. What coding habit improved your development workflow the most? #Django #Python #CleanCode #SoftwareEngineering #WebDevelopment
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development