Day 01: Levelling up with Advanced Python! 🐍✨ Today, I officially kicked off Joe Marini's "Advanced Python" course. It’s been a deep dive into some powerful language features that make Python so unique and efficient. Key takeaways from today: ✅ Walrus Operator (:=): Cleaned up my code by using assignment expressions to assign and evaluate variables in one go. ✅ Scope & LEGB Rule: Finally understood the hierarchy of how Python looks up variables. ✅ Special Variables: Explored the power of __name__ and __file__. ✅ Docstrings & Pretty Print: Learning to write self-documenting code and visualize complex data effortlessly with pprint. Balancing campus life with consistent upskilling! 🎓 Check out my progress on GitHub: 🔗 https://lnkd.in/gGyVmsSH #Python #AdvancedPython #SoftwareEngineering #CodingJourney #WalrusOperator #PythonTips #LearningEveryday
Joe Marini's Advanced Python Course: Key Takeaways
More Relevant Posts
-
📘 Day 2 of Learning Python 🐍 Today I focused on Python Variables & Identifiers — the building blocks of clean code. What I learned 👇 🔹 How Python assigns values using variables 🔹 Why Python doesn’t need explicit data types 🔹 How variables can be reassigned anytime 🔹 The power of unpacking with * 🔹 Why naming variables correctly really matters Small rules. Big impact on readability and bug-free code. Learning one concept at a time, consistently 🚀 #Day2 #LearningPython #PythonJourney #ProgrammingBasics #PythonDeveloper #CodingLife #100DaysOfCode #Consistency
To view or add a comment, sign in
-
-
🚀 Day 27 of #100DaysOfCode Today’s problem: LeetCode 3010 – Divide an Array Into Subarrays With Minimum Cost I At first glance, it felt like a DP problem. But after breaking it down, the solution turned out to be simple and elegant. 🧠 Key Insight: Split the array into 3 contiguous subarrays Cost of a subarray = its first element First subarray always starts at index 0 To minimize cost → pick the two smallest elements from the remaining array ✅ Python Solution: Copy code Python class Solution: def minimumCost(self, nums: list[int]) -> int: return nums[0] + sum(sorted(nums[1:])[:2]) 💡 Learning: Don’t jump to complex solutions too quickly. Sometimes, the optimal answer comes from understanding the problem constraints deeply. 📈 Staying consistent, one problem at a time. #100DaysOfCode #Day27 #LeetCode #Python #DSA #ProblemSolving #Consistency #LearningInPublic #Learning
To view or add a comment, sign in
-
-
Working with For Loops, range(), and Built-in Functions in Python As part of strengthening my Python fundamentals, I explored how for loops and the range() function work together to control iteration, along with built-in functions like max() and min() to simplify common tasks. I recently published a detailed article explaining these concepts with clear examples and practical use cases. To reinforce the learning, I also implemented a couple of small practice programs, including: • Calculating the sum of numbers from 1 to N • Finding the maximum and minimum values from user input 📖 Read the article: https://lnkd.in/gs-zy4sp 💻 Practice code on GitHub: https://lnkd.in/gWiUeAx2 #Python #PythonProgramming #ProgrammingFundamentals #LearningJourney #BeginnerDeveloper
To view or add a comment, sign in
-
-
Power of Four – LeetCode Day 17/200 – One step at a time 📈 Solved “Power of Four” on LeetCode using Python 🐍 Implemented a simple loop-based approach by repeatedly dividing the number by 4 and handling edge cases carefully. ✨ Key Learnings: Understanding powers and number properties Importance of checking divisibility at each step Writing clean and logical Python code 📊 Result: ✅ Accepted ⚡ Runtime: 1 ms Consistency matters more than speed. Showing up every day 💯 #200DaysCodingChallenge #LeetCode #Python #DSA #ProblemSolving #KeepLearning
To view or add a comment, sign in
-
-
Day 6 of My Python Full Stack Journey 🐍 Today I explored something fundamental yet elegant: variable swapping in Python! What I Learned: I discovered two approaches to swap variables: Traditional Method (with temp variable): When swapping two values, we use a temporary variable to hold one value while we reassign. It's like using a third cup when transferring liquids between two cups. Pythonic Method (without temp variable): Python's tuple unpacking lets us swap in a single line! This is where Python's simplicity really shines. The right side creates a tuple, and the left side unpacks it simultaneously. Why This Matters: Understanding both methods taught me that Python often offers elegant solutions to common problems. While the traditional approach helps grasp the logic, Python's way shows how the language prioritizes clean, readable code. Key Takeaway: Sometimes the "extra step" teaches us the fundamentals, but learning the optimized approach shows us the power of the language we're working with. What's next? Moving deeper into Python fundamentals as I build toward full stack development! #Python #FullStackDevelopment #100DaysOfCode #LearningToCode #ProgrammingJourney #PythonProgramming #DeveloperLife #CodingNewbie
To view or add a comment, sign in
-
-
📘 Day 15 of my #90DaysPythonChallenge Topic: Recursion Today, I explored recursion in Python and learned how functions can call themselves to solve problems step by step. 🔹 Practiced recursive functions 🔹 Worked on factorial, sum of numbers, and Fibonacci 🔹 Understood the importance of base cases Recursion helped me think differently about problem-solving and breaking problems into smaller parts. 📂 Practice code available on GitHub: https://lnkd.in/dnNfeh_f #Python #90DaysPythonChallenge #LearningInPublic #CodingJourney #Recursion
To view or add a comment, sign in
-
📘 Day 13 of my #90DaysPythonChallenge Today, I practiced Dictionaries in Python and learned how to work with key–value pairs. 🔹 Created and updated dictionaries 🔹 Accessed, added, and removed dictionary data 🔹 Iterated through keys and values Dictionaries are extremely useful for organizing and managing real-world data efficiently. 📂 Practice code available on GitHub: https://lnkd.in/dnNfeh_f #Python #90DaysPythonChallenge #LearningInPublic #CodingJourney #DataStructures
To view or add a comment, sign in
-
Day 4 of my Python Journey: Making data types play nice! 🐍 Today was all about Type Casting. In Python, data doesn't always arrive in the format we need. I spent today learning how to manually convert data types to keep my code running smoothly. What I covered: Implicit vs. Explicit Conversion: Letting Python do the work vs. taking control myself. The Big Three: Using int(), float(), and str() to bridge the gap between user input and mathematical operations. Common Pitfalls: Why you can't just turn "Hello" into an integer (and how to handle those errors). It’s a simple concept, but it’s the "glue" that holds more complex logic together. Onward to Day 5! #Python #CodingNewbie #100DaysOfCode #DataScience #TechLearning
To view or add a comment, sign in
-
-
Day 7🚀 of my Python Full Stack learning journey — diving into Tuples and how CRUD works with immutable data structures. Today I explored tuples in Python, which are ordered collections that can store multiple values and allow duplicates, but cannot be modified after creation. This immutability makes tuples faster and safer for fixed data that should not change during program execution. Key takeaway: tuples are best when data integrity matters and no modification is required. Understanding when to use list vs tuple is important for writing efficient Python code. Consistent small learning every day compounds into strong fundamentals. 🚀 #Python #FullStack #LearningJourney #DataStructures #Tuples
To view or add a comment, sign in
-
-
🚀 Day 21/30 – Mini Python App Challenge Built a Math Quiz Generator 🧮 using Python. Features: • Random arithmetic questions • Instant feedback • Final score calculation Concepts used: random, loops, conditionals GitHub 👇 🔗 https://lnkd.in/dCSFW_Hd #Python #LearningInPublic #30DaysOfCode #LogicBuilding #github #dailyposting
To view or add a comment, sign in
-
Explore related topics
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