#100DaysOfCode #Day2 Day two was all about understanding data types and manipulating strings in Python. I explored how to work with numbers and f-strings, convert between data types, apply mathematical operations (PEMDAS, popularly known as BODMAS in this part of the world), and even built a BMI Calculator and a Tip Calculator for restaurants. Beyond the code, here are a few life lessons I drew from it: The right type matters. Just as data types determine the kinds of operations that can be performed, in life, not every approach or mindset fits every situation. Wisdom is knowing what type fits the moment. Accuracy over assumption. A single wrong data conversion can throw off your whole calculation, just like one unchecked assumption can distort your perspective. Small steps lead to big functions. Each line of code I wrote contributed to something meaningful. Consistency still beats intensity every single time. In the end, I realized that coding teaches patience and structure, but it also mirrors life itself: when you understand the logic, you can begin to shape better outcomes both on screen and off it. #python #productivity
"Day 2 of #100DaysOfCode: Python data types, calculators, and life lessons"
More Relevant Posts
-
Day 2 — Building Logic: If, Else, and Loops 🧠 Today’s focus was on helping Python think and decide. I explored conditional statements (if, elif, else) and loops (for, while), the foundations that make code dynamic and responsive. Here’s what I practiced today: 🔹 Creating a simple “Student Grade Evaluation” program using if–else 🔹 Using loops to process multiple inputs 🔹 Writing my first list comprehension to generate squared numbers 💡 It’s fascinating how programming logic mirrors real-world data thinking, we set conditions, look for patterns, and act based on results. For this challenge, I’ve been letting AI guide me through daily tasks. It’s like having a personal mentor who designs the perfect learning flow each day. 🤖✨ Can’t wait to dive into Day 3 tomorrow! #Day2 #Python #DataAnalytics #LearningJourney #30DaysChallenge #WomenInTech
To view or add a comment, sign in
-
#Week2 | Mastering Data Structures: A Deep Dive into Linked Lists This week, I moved from Python basics to a fundamental data structure: the Linked List. It's amazing how these simple nodes connect to create powerful and flexible data management systems. What I Did: - Implemented a Singly Linked List from scratch in Python. - Mastered core operations like insertion (at the beginning and end), deletion (by value and from the head), and traversal. - Implemented two interesting algorithms: reversing a linked list in-place and finding the middle node using the fast/slow pointer technique. Tech Stack / Tools Used: `Python`, `Jupyter Notebook` Key Insights / Learnings: The fast and slow pointer approach to finding the middle node in a single pass is a clever and efficient algorithm. It's a great example of how algorithmic thinking can optimize solutions. This Week’s Plan: I'll be moving on to another core data structure: Trees. I'm excited to explore their hierarchical nature and applications. Project / Repo Link: GitHub Repo: https://lnkd.in/gdXyQFZH #DataStructures #Python #LinkedLists #Algorithms #AIJourney #LearningInPublic #12WeeksOfAI #RohitReboot
To view or add a comment, sign in
-
-
Today’s learning session was all about strengthening my logic and memory in both SQL and Python. I’m making sure to build solid fundamentals before moving into complex projects. - SQL Practice Highlights: Created multiple stored procedures with IN, OUT, and INOUT parameters. Calculated total quantity, total revenue by category, and final revenue after discount. Built a procedure to show products by category dynamically — really helped me understand parameter handling in SQL. These small tasks reminded me how powerful stored procedures can be when optimizing repeated operations in real projects. - Python Practice Highlights: Strengthened my understanding of loops, string methods (strip, replace, lower), and password validation logic. Practiced with match–case, for loops, and simple logic-building exercises (like multiplication tables and star pyramids). Each small script helps me think like a problem-solver rather than just a coder. It’s not about doing something big every day — it’s about consistent small wins that build confidence and muscle memory over time. #SQL #Python #DataAnalytics #LearningJourney #100DaysOfCode #SelfLearning #ProblemSolving #CareerInData
To view or add a comment, sign in
-
I spent 3 days debugging one whitespace. I used to ignore the "Golden Rule" of Python strings. It cost me hours of frustration until I realized: Strings are immutable. I was writing `text.strip()` thinking it cleaned my data. But the variable remained dirty because I wasn't assigning it back. Once I fixed my workflow, I discovered the 3 tools that actually separate pros from beginners: 1. The Janitor: Data is rarely clean. [cite_start]`.strip()` removes the hidden spaces that break your code, while `.zfill()` perfectly pads your IDs 2. The Power Duo: `.split()` and `.join()` are the most powerful text processing team. [cite_start]They turn messy CSV strings into structured lists instantly 3. The Modern Standard: Stop using `.format()`. [cite_start]F-strings are cleaner, faster, and the absolute standard for injecting variables . Stop fighting your data. Start formatting like a pro. --- #Python #DataScience #CodingTips #EdTech #TechSkills #DigitalTransformation #DeveloperLife 💡 What is the one coding error you keep making? Share below!
To view or add a comment, sign in
-
Python Update: Data Organization & Nested Power! 🚀 Today’s session focused on organizing complexity—how to structure data and control multiple layers of execution. This is where Python starts feeling really powerful! Highlights from the session: Nested Loops: I learned how to use a loop inside another loop (an "inner" loop inside an "outer" loop) to create complex patterns. The exercise of building a customizable grid of symbols was a perfect example of this coordination. This skill is crucial for matrix operations or processing complex, two-dimensional datasets! Collection Mastery: I dived deep into Lists ([]), recognizing them as mutable, ordered collections. I practiced using essential methods like .append() and the in keyword for element checking. This is the foundation for almost every Python application. Data Structure Differences: I started exploring the distinction between the main collection types: Lists, Tuples (()), and Sets ({}). Understanding when to use an ordered, mutable List versus an immutable Tuple is key to writing efficient code. This is a huge step toward building real applications that manage structured data. What was the first project you built when you mastered nested loops or data structures? I'd love to hear your ideas! #Python #CodingJourney #NestedLoops #DataStructures #List #PythonDeveloper
To view or add a comment, sign in
-
-
There’s an opinion that good visualization isn’t really about Python. But here’s a wonderful counterexample to that idea: python-graph-gallery.com by Yan Holtz — it’s truly inspiring. And it’s also an excellent, well-structured guide on how to create great visualizations in Python on your own!
"Python creates only ugly charts" ❌ I've heard this so many times! It's true that most of the matplotlib charts out there are... not polished. It's also true that the Matplotlib's API is hard to grasp. And the doc is... not easy to follow. But with: - a bit of #dataviz design theory - a few simple fundamental concepts about the syntax - and a bit of iteration... ✨ You can create literally anything! I've spent years of my life gathering examples in the python-graph-gallery.com I've also created Matplotlib-journey.com with Joseph Barbier to provide the best learning experience. Let's push the limits of Matplotlib and get rid of its bad reputation! ---- Original chart by Gilbert Fontana 🙏
To view or add a comment, sign in
-
-
Python in Excel isn’t the future — it’s here. If you’re a finance pro buried in spreadsheets, here’s the cheat sheet: 1️⃣ You already have access (Microsoft 365 Insider builds). 2️⃣ You enable it by typing =PY() in a cell. 3️⃣ You can pull, clean, and forecast data without leaving Excel. No installs. No code bootcamps. Just smarter workflows. Excel finally speaks the same language as your data — Python. 👇 Have you tried it yet? What’s the first thing you’d automate? #PythonInExcel
To view or add a comment, sign in
-
After spending years in real-world Python work, one truth stands out clearly… Your code becomes cleaner, faster, and far easier to debug the moment you truly understand the behaviour of basic data structures. Not the fancy stuff. Not the advanced libraries. Just the fundamentals — lists, sets, and dictionaries. Because most real-world mistakes don’t happen in complex ML models… they happen in simple lines like append(), pop(), remove(), or forgetting how sets treat duplicates. This chart is a good reminder. Lists when you need order and flexibility. Sets when you want uniqueness and lightning-fast lookups. Dictionaries when you need structure and meaning. Master these, and suddenly your Python logic starts making sense — your scripts break less, your confidence grows, and your time-to-solution becomes unbelievably faster. Sometimes levelling up is not about learning more. It’s about understanding what you already use every day — deeply. If you’re learning data analytics and you want clarity in exactly how to think, not just what to type , I’ve created simple, practical learning kits and resources based on real project experience. check link Here https://lnkd.in/gasgBQ6k #DataAnalyst #DataScience #Python #DataJourney #PowerBi #SQL
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