🚀 Today I Learned: Python Lists Continuing my Python journey, today I explored one of the most important concepts — Lists. 🔹 What I learned: - Creating lists to store multiple values - Accessing items using index - Adding & removing elements (append, insert, remove, pop) - Updating list values - Using loops to iterate through a list 🔹 Small practice: I created a list of numbers and calculated the average using Python. 💡 Lists are very useful in real-world projects for handling data efficiently. I’m excited to keep learning and building more with Python every day! #Python #LearningJourney #Coding #Programming #Beginners #100DaysOfCode
Python Lists: Creating and Manipulating Lists
More Relevant Posts
-
🎯 Tech Learning Journey - Day 06: Python List Comprehensions - Write Less, Do More! List comprehensions are a shortcut for creating lists in Python. Instead of writing multiple lines with loops, you can build a new list in just one clean line that reads like English. # Traditional way \(takes 3 lines\) squares = \[\] for num in range\(5\): squares.append\(num \*\* 2\) # List comprehension \(1 line!\) squares = \[num \*\* 2 for num in range\(5\)\] Where I use this: Transforming data, filtering lists, and making my code shorter and more readable. #Python #Coding #Programming #ListComprehensions
To view or add a comment, sign in
-
-
🚀 Day 6 of My Python Learning Journey Today’s focus was on Functions in Python — one of the most important concepts for writing clean and reusable code ✨ 🧠 What I learned today: ✔️ How to define functions using "def" ✔️ Difference between built-in and user-defined functions ✔️ Parameters and return values ✔️ Lambda (anonymous) functions ✔️ Basics of recursion 📒 I also created handwritten notes to better understand and remember the concepts — writing things down really helps me learn faster! 💡 Key takeaway: Functions make code more organized, reusable, and easy to debug. Here’s a simple example from today’s practice: def add(a, b): return a + b print(add(2, 3)) 📌 Sharing my handwritten notes below 👇 (helps in quick revision!) #Python #CodingJourney #LearningByDoing #StudentLife #100DaysOfCode #Programming
To view or add a comment, sign in
-
-
🚀 Just Published My First Medium Article! I’m excited to share my first blog on Medium: 👉 Python Basics – Part 1 As a beginner, I started exploring Python and realized something important — strong fundamentals make everything easier later. In this article, I’ve covered: ✔️ Variables and data types ✔️ Basic syntax and operations I also tried to keep it simple and beginner-friendly, so anyone starting their coding journey can understand it easily. 💡 Learning is not about knowing everything at once — it’s about starting small and staying consistent. This is just the beginning of my journey into tech and self-improvement. 🔗 Read my full article here: https://lnkd.in/dfFnCFm2 I’d love to hear your feedback and suggestions! #Python #LearningJourney #Beginners #Coding #SelfImprovement #WomenInTech
To view or add a comment, sign in
-
My Python Journey: Lists + Loops Today, I focused on building a strong foundation in Python with lists and loops. I practiced 10 essential problems, including: 🔹Printing all elements of a list 🔹Accessing elements at even indices 🔹Filtering even numbers 🔹Finding numbers greater than a threshold 🔹Calculating the sum of all elements (without sum()) 🔹Counting total elements (without len()) 🔹Counting numbers greater than 5 🔹Finding the smallest number (without min()) 🔹Printing a list in reverse (using loops) 🔹Creating a new list with squares of numbers 💡 Key takeaways: Loops are powerful for iteration and data manipulation Conditional checks inside loops make Python very flexible Practicing manually (without built-ins) strengthens problem-solving skills. Here’s a glimpse of my list of numbers I practiced on: nums = [14, 13, 27, 34, 20, 16, 23, 82, 49, 83] Feeling confident and ready for Day 2 challenges! 🔥 #Python #DataAnalytics #CodingJourney #100DaysOfCode #LearningByDoing #ProblemSolving
To view or add a comment, sign in
-
-
🚀 Python Learning Journey – Small Concept, Big Clarity! 💠 I learned a small but interesting concept today 👇 👍 Let’s Test Your Logic !!!!! 🤔How to find the 2nd occurrence of a character in a string 🔸Let’s try a quick challenge: 📌 Consider this string: "pythonn" ❓ Question: What is the position of the second occurrence of "n"? 🤔 Take a moment and guess before you look below… 💡 Here’s the Python logic: a = "pythonn" b = a.find("n") print(a.find("n", b+1)) 👇 Drop your answer in the comments! I’ll share the correct answer soon 😉 #Python #CodingChallenge #LearningJourney #Beginners #Programming #WomenInTech
To view or add a comment, sign in
-
Practicing Python – Building a Simple Calculator As part of my Python learning journey, I practiced building a simple calculator program using functions. This project was implemented while following tutorials from Satish Dhawale. While watching the lesson, I tried to code along and understand how functions work in Python. Through this small exercise, I learned: 🔹 How to create and use functions 🔹 Handling user input 🔹 Using conditional statements 🔹 Writing cleaner and reusable code The calculator can perform operations like addition, subtraction, multiplication, division, and average calculation. Even though it’s a beginner-level project, it helped me understand how programming logic works. I’m continuing to practice more projects to strengthen my Python and data analytics skills. 💻 Learning one concept at a time and applying it through practice. #Python #LearningPython #CodingPractice #Programming #DataAnalytics #LearningJourney #BeginnerProgrammer
To view or add a comment, sign in
-
-
💡 Did you know there’s a data type in Python that cannot be changed once created? That’s where Tuples come in 👇 While learning Python, I explored Tuples — simple, yet powerful. ✔️ Ordered ✔️ Immutable ✔️ Can store multiple data types Tuples are especially useful when you want your data to remain safe and unchanged throughout your program. I’ve explained this concept in a simple and beginner-friendly way with examples! 👉 Check out my Medium post: 🔗 https://lnkd.in/gkkPuVuq Would really appreciate your feedback 🙌 #Python #Coding #Programming #Beginners #LearningJourney #Tech
To view or add a comment, sign in
-
-
📚 Continuing my Python learning journey Today I completed learning three important Python data structures: tuples, sets, and dictionaries. 🔑 Key concepts I explored: • Tuples – ordered, immutable collections used for fixed data • Sets – unordered collections with unique elements, useful for removing duplicates and fast lookups • Dictionaries – key-value pairs for storing and accessing structured data efficiently Understanding the differences between these data structures helped me see when and why to use each one in real-world scenarios. It’s interesting how each structure is designed for a specific purpose, making Python both powerful and flexible. Step by step, I’m building a stronger foundation in Python programming and problem-solving. 🚀 #Python #Programming #LearningJourney #ComputerScience #Coding
To view or add a comment, sign in
-
🚀 Day 4 of Python Journey – Conditional Statements After a short break, started again my python journey. Today, I focused on Conditional Statements in Python. Instead of just understanding theory, I worked on multiple implementations and practiced different variations to strengthen my logic building. 📂 What I covered: ✔ if statements ✔ if-else statements ✔ if-elif-else ladder ✔ Solved multiple questions based on conditions ✔ Built small logic-based programs One of the highlights was creating a temperature-based decision system using an if-elif ladder — simple concept, but great for understanding how decision-making works in real programs. 💡 Key Learning: It’s not about solving one question. It’s about solving many variations of the same concept until the logic becomes natural. 📈 Approach I’m following: Learn → Practice → Repeat → Improve This is just Day 4, but the focus is clear — building strong fundamentals that will help in problem-solving and real-world development. #Python #CodingJourney #100DaysOfCode #Programming #Learning #Consistency #ProblemSolving
To view or add a comment, sign in
-
-
🚀 Day 20 of my Python learning journey Today I learned about Operator Overloading in Python. I understood how we can define the behavior of operators like +, -, * and == for custom objects by overriding specific magic methods in our class. I practiced building a Vector class from scratch and tested different operations on Vector objects to see how Python internally calls these magic methods. I always used w3schools.com to understand the concepts more clearly. Today's learning helped me understand how powerful and flexible OOP really is. You can make your custom objects behave just like built-in types. My work is here https://lnkd.in/gGsjWtee #Python #100DaysOfCode #LearningInPublic #OOP #Programming #Developers #DSA #W3Schools
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