Day 70 of #100DaysOfCode 🐍 Today, I learnt about Dictionaries in Python — one of the most powerful data structures for storing and managing key–value pairs. 💡 Key takeaways: ✅ How to create, access, and modify dictionaries ✅ How to loop through keys and values ✅ Using methods like .items(), .keys(), and .values() ✅ Why dictionaries are great for organizing real-world data Understanding dictionaries really deepened my confidence in handling structured data efficiently. Python just keeps getting more interesting! 🧠✨ #100DaysOfCode #Python #CodingJourney #LearningInPublic #DataStructures
Learned Dictionaries in Python for #100DaysOfCode
More Relevant Posts
-
Ever wondered why Python dictionaries are called "unordered"? 🤔 Here’s a fun visual! 🎨 A dictionary doesn’t store data in a fixed order — it uses a hash table to place each key–value pair in memory for faster lookups. That’s why when you search for a value using a key, Python can find it in an instant ⚡ #Python #DataStructures #LearningWithFun #Dictionary #HashTable #CodingMadeSimple
To view or add a comment, sign in
-
-
👩💻 “That’s not very Pythonic…” We’ve all heard that phrase before. But what does it actually mean? This week I took a small, messy Python script and refactored it step by step, each time applying a principle that makes the code more Pythonic: 🔁 Replacing classes with functions 🧼 Using @dataclass for structure 📎 Adding type annotations 🧘 Embracing the Zen of Python ... and more! 👉 Watch here: https://lnkd.in/g5fhyarh #python #cleancode #refactoring #zenofpython #pythonic #arjancodes
To view or add a comment, sign in
-
-
👩💻 “That’s not very Pythonic…” We’ve all heard that phrase before. But what does it actually mean? This week I took a small, messy Python script and refactored it step by step, each time applying a principle that makes the code more Pythonic: 🔁 Replacing classes with functions 🧼 Using @dataclass for structure 📎 Adding type annotations 🧘 Embracing the Zen of Python ... and more! 👉 Watch here: https://lnkd.in/gaCp34fC #python #cleancode #refactoring #zenofpython #pythonic #arjancodes
To view or add a comment, sign in
-
-
🚀 Small Code, Big Lesson! Today, I worked on a simple Python script that removes all the special characters from any string. It might sound basic, but these kinds of mini-projects help me understand how data cleaning and string manipulation work behind the scenes. Every small project is another step toward mastering Python and building real-world problem-solving skills. Here’s a quick look at how it works 👇 #Python #CodingJourney #LearningInPublic #100DaysOfCode #DataCleaning #TextProcessing #CleanCode #journeytoML
To view or add a comment, sign in
-
Escape Characters in Python Strings Mastering \n, \t, and Quotes Today I revisited one of the most underrated yet powerful features in Python escape characters. Whether you're formatting output, handling multi-line strings, or embedding quotes, escape sequences like \n, \t, and \" make your strings clean and expressive. 🔹 \n → Inserts a newline 🔹 \t → Adds a tab space 🔹 \' or \" → Escapes quotes inside strings 🔹 Triple quotes (""") → Handle multi-line strings and embedded quotes effortlessly #Python #CodingTips #EscapeCharacters #DevJourney #LinkedInLearning #CodeNewbie #100DaysOfCode #JehosaphatCodes #datascience #graduateschool
To view or add a comment, sign in
-
-
🐍 Day 1/30 — Print Statement in Python Today, I learned one of the most basic and essential concepts in Python how to display output using the print() function. It’s used to show messages, numbers, or results on the screen. 👇 print("Hello, Python!") Output: Hello, Python! 🧠 Tip: Always write text (strings) inside quotes " " or ' '. You can also print numbers or multiple values together, like this: print("Sum:", 5 + 3) #Python #LearnPython #PythonBasics #Scaler #CodingJourney #PythonForBeginners #30DaysOfCode #30DaysOfPythonjourney!
To view or add a comment, sign in
-
-
Just wrapped up an interesting case study on Correlation Analysis in Python 🎬 Explored how different numerical features relate to each other using Pandas, NumPy, and Seaborn. Small insights like these help build a stronger foundation for data-driven decision making! Check it out on GitHub: https://lnkd.in/gZW-fEhn #Python #DataAnalysis #EDA #Correlation #DataVisualization
To view or add a comment, sign in
-
-
🚀 Python Learning Journey — Day 2: String Slicing in Action Today I explored one of the most fundamental yet powerful concepts in Python… String Slicing. From extracting characters to playing with negative indexing, everything opens a new door in understanding how data works. 🔹 name[0:3] — Accessing first few characters 🔹 name[-4:-1] — Slicing from the end 🔹 name[1:5] — Middle extraction like a pro 😄 Every small step in coding adds up to a big transformation. The goal: write clean and efficient code while understanding the logic behind it. Learning continues tomorrow! 💻✨ #Python #PythonLearningJourney #CodingLife #ProgrammerInProgress #LearnToCode #StringSlicing #SoftwareDevelopment #100DaysOfCode #TechJourney #FutureDeveloper #DevelopersCommunity
To view or add a comment, sign in
-
-
Python Built-in Functions: The Tools You’re Probably Underrating Here’s the thing about Python — before you install your next library, it’s worth checking what’s already built in. The interpreter ships with a long list of functions that quietly handle everything from data conversion to object inspection. No imports. No setup. Just pure Python. #Python #DataScience #DataAnalytics #MachineLearning #AI #BigData
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