🚀 Day 11/100 | #100DaysOfCode 🐍 Learning Python Step by Step! Today I learned about Tuples in Python and practiced questions from all the topics I’ve covered till now. ✅ 🔹 Tuples are ordered collections just like lists, but they are immutable (their values cannot be changed). 🔹 Useful when we want to store data that should not be modified. 🔹 Learned and practiced: • Creating tuples • Accessing elements using index • count() and index() methods • Tuple unpacking Along with tuples, I also practiced questions on: ✔ Variables & Data Types ✔ Input & Output ✔ Operators ✔ Strings and String Functions ✔ Lists and List Operations Focusing on building strong basics before moving to advanced topics. 💪 Consistency > Speed. One concept at a time. 🚀 👉 Excited to learn more Python concepts in the coming days! #Python #100DaysOfCode #LearningInPublic #PythonBeginner #CodingJourney #DailyLearning #BuildInPublic #TechSkills #FutureDeveloper 💻🔥
Learning Python Tuples and Practicing Fundamentals
More Relevant Posts
-
👋 Welcome back! 📅 Python Learning – Day 26 Today is about writing small functions in a very simple way: Python Lambda Functions. Lambda functions are short, one-line functions used when the logic is simple and you don’t want to define a full function. They are commonly used with things like `map()`, `filter()`, and sorting. 📘 In this lesson, I’ve explained: ⚡ What lambda functions are and when to use them 🧠 How lambda differs from regular functions ⚠️ Common beginner mistakes when using lambdas Lambda functions are not meant to replace normal functions. They are best used when clarity is maintained and the logic stays small. Once you understand lambdas, your code can become more concise and expressive. 🔗 Tutorial link is in the comments. ⏭️ Tomorrow: File Handling #LambdaFunctions #PythonFunctional #LearnPythonDaily #PythonConcepts #CodingForBeginners #CleanCoding #DeveloperTools #TechSkills #PythonJourney #codepractice
To view or add a comment, sign in
-
-
Day 4 of my Python Learning Journey 🚀 Today was all about exploring Python data types using practical examples and understanding how Python handles data internally. What I learned today 👇 🔹 Numeric & Boolean data types int, float, complex bool (True, False) Used print() and type() to clearly identify each type 🔹 Collections & sequences list, tuple, string, range dictionary (key–value pairs) set and frozenset Checked their types using type() 💻 Example: Copy code Python x = 10 y = [1, 2, 3] print(type(x)) print(type(y)) I also understood indexing, basic memory allocation, and the difference between 👉 mutable (list, set, dictionary) and immutable (int, tuple, string) data types. Learning step by step and strengthening my fundamentals 📚 🚀 Next up: diving deeper into Python concepts! #PythonLearning #Day4 #PythonBasics #AIMLStudent #CodingJourney #LearnPython #Consistency
To view or add a comment, sign in
-
-
The coolest move in Python syntax: The "Moonwalk" loop. 🕺 Beginners often overcomplicate counting backwards in Python. I’ve seen clunky while loops, manually decrementing counters, or creating lists just to reverse them [::-1]. Stop working so hard. The "Pro" move is to unlock the often-ignored third parameter of the built-in range() function: the step. The syntax is: range(start, stop, step) By default, the step is positive (+1), moving you forward. But if you set the step to -1, you tell Python to slide backwards. In the visual below: Start at 10. Stop before 0 (Remember, the stop index is exclusive!). Step back by -1 each time. It’s clean, readable, and honestly, it just looks way cooler than a messy while loop. 😎 Want to learn a new Python trick every morning? We turn boring documentation into fun, bite-sized lessons. Get them delivered straight to your inbox daily. 👉 Join the PyDaily community here: https://lnkd.in/ducXvs-y #Python #CodingTips #LearnPython #SoftwareEngineering #Developer #PyDaily
To view or add a comment, sign in
-
-
🚀 **Python Learning Progress | Fundamentals in Action** Today I practiced core **Python fundamentals** using Jupyter Notebook. Focused on variables, reassignment, and data types like `int`, `float`, `str`, and `bool`. Learned and applied Python **variable naming rules** with valid examples. Explored common **syntax errors** using invalid variable names and keywords. Understood how Python treats **everything as an object**. Practiced checking types using `type()` and comparisons. Observed differences between `print()` and direct cell output. Hands-on practice helped me gain clarity by learning through errors. One step at a time—building strong Python foundations 💪 #Python #PythonBasics #LearningPython #DataTypes #Variables #JupyterNotebook #CodingPractice #ProgrammingFundamentals #Upskilling
To view or add a comment, sign in
-
-
📅 Day 5 of My Python Learning Journey 🐍 Topic: Packing & Unpacking in Python Today I learned a super cool and useful concept in Python called Packing and Unpacking 💡 🔹 Packing When we put multiple values into a single variable (usually a tuple), it’s called packing. Example: data = 10, 20, 30 ➡️ Python packs these values into a tuple: (10, 20, 30) 🔹 Unpacking When we take values out of a tuple/list and assign them to multiple variables, it’s called unpacking. Example: a, b, c = data ➡️ Now a = 10, b = 20, c = 30 ✨ Why it’s useful? • Makes code clean & readable • Easy swapping of values • Great for working with functions and lists Python keeps surprising me every day 😄 On to Day 6 tomorrow! 💪 #Python #LearningPython #100DaysOfCode #PythonBasics #CodingJourney #BeginnerToPro
To view or add a comment, sign in
-
-
✅ **Day 25 of 100 — U.S. States Quiz + CSV with Pandas 🗺️📊 Today’s project was an interactive U.S. States quiz using Python’s pandas library. I learned how to: - Read state data from a .csv file using pandas - Display states on a map as the user guesses correctly - Track and update the score in real time When I got stuck on validating user guesses, I found a 3-year-old Stack Overflow question by “joeca” asking for help with similar logic. Studying their approach helped me structure my own solution—with adjustments for scoring, input handling, and real-time feedback. Found a small bug to fix: if a state is guessed twice, it currently adds to the score again. I’ll refine that later, but overall, it was a rewarding dive into data handling + interactive learning tools. Another day of learning, adapting, and problem-solving! 👨💻 #python #100DaysOfCode #StackOverflow
To view or add a comment, sign in
-
#Learning hashtag #Python through Chunks. Lets start journey together (Beginner to Master). Lets code together !! #ABCC - Any Body Can CODE Chunk 4: Variables A variable is a box with a label where you store something. You choose the label. You put a value inside the box. You can take it out and use it whenever you want. Code age = 12 print(age) This means: Make a box/container called "age" Put "12" inside it Output 12 Code 2 name = "Lakshmisha" print("Hello " + name) Output Hello Lakshmisha The box idea makes everything easier: name → box "Lakshmisha" → value inside the box Python reads the variable name exactly as you wrote it. Python is case‑sensitive. age, Age, and AGE are all different. 💡 Key points to remember A variable is a labeled box. The label is the variable name. The content is the value. You can reuse the value anytime.
To view or add a comment, sign in
-
Today I learned about core data structures in Python 🐍 Understanding how data is stored and managed is just as important as writing logic. Here are the four basics I studied today: 🔹 List – Mutable, heterogeneous, allows duplicates. 🔹 Tuple – Immutable, heterogeneous, allows duplicates. 🔹 Dictionary – Mutable, stores data as key–value pairs, keys are unique. 🔹 Set – Mutable, heterogeneous, stores only unique elements. Each structure solves a different problem, and choosing the right one can make code more efficient and readable. Slowly building strong foundations in Python, one concept at a time 🚀 #Python #DataScience #LearningInPublic #Programming #100DaysOfCode #CareerSwitch #Day1
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
-
-
🚀 Day 23/100 | #100DaysOfCode with Python 🐍 Today I learned three super useful concepts that make Python code shorter, cleaner, and more powerful 👇 ✨ Lambda Functions Small, anonymous functions written in a single line. Perfect when the logic is simple and you don’t need a full function. 🔁 map() Function Used to apply the same operation to every element in a list or iterable. Great for transforming data quickly and efficiently. 🎯 filter() Function Helps extract only those values that match a condition. Super helpful when working with real-world data. What I loved today: Less code ✅ Better readability ✅ More confidence with Python ✅ Taking one step forward every day, no matter how small 💪 Consistency > Perfection 🚀 If you’re learning Python too, what did you practice today? Let’s share and grow 👇 #Day23 #PythonLearning #Lambda #MapFunction #FilterFunction #100DaysOfCode #CodingJourney #LearnToCode #DeveloperInMaking #DailyLearning
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