Day 3/100 – #100DaysOfPython 🐍 Today was focused on revising and practicing some important Python concepts. What I revised & practiced today: • Functions (parameters, return values) • Recursion • Logic-based practice questions Working on recursion again reminded me how important it is to think in terms of base cases and smaller subproblems. Key takeaway: Progress comes from showing up daily. Even 1% better practice each day builds strong problem-solving skills over time. Consistency > Motivation 🚀 #Python #100DaysOfCode #LearningInPublic #BTech #ProblemSolving #CodingJourney
Revising Python concepts: Functions, Recursion & Problem-Solving
More Relevant Posts
-
🚀 Day 30/50 – LeetCode Challenge (Python) Halfway to 50 with a classic medium-level problem that combines sorting and two-pointer techniques. 📌 Problem: 3Sum (Medium) 🧠 Approach: Sort the array and use two pointers to find unique triplets that sum to zero ✨ Key Learning: Sorting simplifies complex combinations and helps eliminate duplicates efficiently 30 days of consistency. Onward. #LeetCode #Python #DSA #Consistency #LearningInPublic
To view or add a comment, sign in
-
-
Day 8/60 🚀 60 Days Python Series 🐍 🔥 Reverse a string using a loop ❌ without using reverse() ❌ without shortcuts This helps you understand: ✔ loops & iteration ✔ string manipulation ✔ how logic works behind the scenes Master the basics and Python becomes easy 💻 Practice daily, improve step by step 📈 📌 Save this for revision 💬 Comment “python” if you’re following the series ➡️ Follow for daily Python tips #60dayspython #pythonseries #learnpython #pythonbasics #codingreels #programminglife #stringmanipulation #logicbuilding #pythonforbeginners
To view or add a comment, sign in
-
Python taught me something early on that applies far beyond code. The real power isn’t in writing clever lines — it’s in reducing complexity. Breaking a problem down, naming things clearly, and letting the structure do the work makes everything easier to reason about. I’ve learned that the best scripts are the ones future-you (or someone else) can understand instantly. That mindset has quietly improved how I approach problem solving overall. #Python #LearningInPublic #WorkflowAutomation
To view or add a comment, sign in
-
🚀 Day 9 – Python Functions and Recursion 🐍 Today I explored Python Functions and Recursion, focusing on how real problems can be solved step by step. For example: 🔹 Using a function to avoid repeating the same logic again and again 🔹 Using recursion to break a problem into smaller versions of itself—until a base case is reached Seeing how a function can call itself made the logic behind problems like factorials and number series much clearer. It’s not just about writing code anymore, it’s about thinking logically and structuring solutions. 📌 Consistency over speed. Learning with practice. #Python #Day9 #Functions #Recursion
To view or add a comment, sign in
-
-
Today I learned about Lambda Functions in Python 🐍 A lambda function is a small, anonymous function written in a single line using the lambda keyword. It’s mainly used for: ✅ Short and simple operations ✅ Writing compact code ✅ Using inside functions like map(), filter(), and sorted() Example idea: Instead of writing a full function to square a number, we can do it in one line with a lambda function. Less code. Same logic. Cleaner style. Understanding these small tools really helps in writing more Pythonic and efficient code. Learning one concept every day 🚀 #Python #DataScience #LearningInPublic #Programming #100DaysOfCode #CareerSwitch
To view or add a comment, sign in
-
-
🚀Discovered why Python lists kill performance (200ms vs 2ms for 1M elements!) while NumPy delivers 100x speedup + 8x less memory. Explained with a chef analogy: cache misses = running to the store, GIL = one chef rule. Read full blog on medium: https://lnkd.in/dWDGWtuw #NumPy #Python #DataScience #Performance #GenAi #DataScience
To view or add a comment, sign in
-
-
🧵Python Strings: Small Details, Big Power Today I learned how Python lets us access exactly what we need from a string,nothing more, nothing less. 🔹 Indexing Python starts counting from 0, not 1 First character → index 0 Last character → length - 1 (or just use -1 😉) 🔹 Negative indexes Don’t know the string length? No problem. Python lets you count from the end. 🔹 Slicing strings Want part of a string? Use slices like text[:4] or text[4:] Just like range(): start included, end excluded. 💡 Key takeaway: Indexing feels confusing at first, but practice turns it into muscle memory. Learning Python one slice at a time #Python #LearningInPublic #ProgrammingBasics #Coursera #DeveloperJourney #CodingTip
To view or add a comment, sign in
-
-
🚀 Day-103 of Python Problem-Solving! Problem: Given a list of numbers, we wanted to: 1️⃣ Find the smallest prime in the list. 2️⃣ Multiply only the even numbers by that prime. 3️⃣ Keep the odd numbers unchanged. This exercise is a simple yet powerful way to combine mathematical logic with Python list operations. It helps strengthen problem-solving skills that are often asked in interviews and coding challenges. #Day103 #100DaysOfCode #PythonProgramming #PythonTips #CodingChallenge #ProblemSolving #LearnPython #TechLearning #PythonDevelopment #DataStructures #PythonPractice #CodeEveryDay
To view or add a comment, sign in
-
-
Day 27/30 – Python Challenge 🐍 | Path Sum (Binary Tree) Today’s challenge focuses on checking whether a binary tree has a root-to-leaf path where the sum of node values equals a given target. Key ideas 💡 A valid path must start at the root and end at a leaf Subtract the current node’s value as you traverse Use DFS recursion to explore all paths Return true as soon as a valid path is found Another classic binary tree problem checked off the list 🌳✅ The finish line is getting closer 🚀🔥 #Day27 #PythonChallenge #LeetCode112 #BinaryTree #PathSum #DataStructures #Algorithms #CodingJourney #30DaysOfCode #Python
To view or add a comment, sign in
-
-
Excited to share my latest project: Rule-Based Expert System! This is a Python-based rule system that recommends project ideas based on user interest and skill level. It demonstrates basic conditional logic and beginner-friendly decision-making in Python. Features: - Takes user input (domain & skill level) - Suggests relevant project ideas - Simple and interactive Check it out on my GitHub: https://lnkd.in/gvPRKg7M #Python #AI #MachineLearning #RuleBasedSystem #Project #Coding
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