Day 52 – Tuple Basics and Adding Elements: Day 52 focused on Python tuple fundamentals, including accessing elements, finding length, and understanding immutability. The task demonstrated how new elements can be added by creating a new tuple using concatenation. This exercise strengthened knowledge of tuple operations and reinforced core concepts of Python data structures. GitHub Code: https://lnkd.in/giqwvVEr #Day52 #100DaysOfCode #Python #Tuples #DataStructures #LogicBuilding #DailyCoding #Consistency
Python Tuple Fundamentals: Accessing Elements & Adding New Elements
More Relevant Posts
-
Day 58 – Removing Common Elements from Lists Day 58 focused on removing common elements between two lists using set operations. This exercise enhanced understanding of list manipulation, type conversion, and efficient comparison techniques in Python, along with handling dynamic user inputs for practical implementation. GitHub Code: https://lnkd.in/gFwDgBBN #Day58 #100DaysOfCode #Python #Lists #SetOperations #LogicBuilding #DailyCoding #Consistency
To view or add a comment, sign in
-
-
Your code isn’t slow. You’re just scanning the same data 3 times. But the real issue is the structure, such as repeated filters, unnecessary copies, and too many passes over the dataset. Once you understand how data actually moves in memory, everything feels more PRO 👏 That’s what we work on inside our 1:1 Python Mentorship: • 6 private lessons • Real feedback on your own projects Interest? Here is our program: https://lnkd.in/dpHv3i4p #Zerotoknowing #python #codingtips
To view or add a comment, sign in
-
Day 57 – Finding Set Difference in Python Day 57 focused on performing set difference operations to identify elements present in one set but not in another. The exercise also included adding dynamic user inputs, helping strengthen understanding of set behavior, uniqueness, and efficient comparison techniques in Python. GitHub Code: https://lnkd.in/g_TjiHnB #Day57 #100DaysOfCode #Python #Sets #DataStructures #LogicBuilding #DailyCoding #Consistency
To view or add a comment, sign in
-
-
📌 Nested Loops in Python Building on my loop concepts, I practiced Nested Loops in Python. A nested loop means placing one loop inside another. The inner loop executes completely for every single iteration of the outer loop. In this example, I used two lists: • One containing properties • One containing fruits The program combines each property with every fruit, showing how nested loops help generate all possible pair combinations. Nested loops are useful when: • Working with multiple lists • Creating combinations • Handling rows and columns • Solving pattern-based problems Step by step, improving my logical thinking and Python fundamentals. 🚀 #Python #Programming #CodingJourney #LearningPython #DataAnalytics
To view or add a comment, sign in
-
-
Day 69 – Try, Except, Finally Example in Python: Day 69 focused on practicing a Try–Except–Finally example in Python using user input. In this program, I asked the user to enter a number and attempted to divide 100 by that number. I handled possible errors such as invalid input using ValueError and division by zero using ZeroDivisionError. I also used a finally block to ensure a message is displayed when the program execution completes. This exercise helped me understand how to safely handle user input errors and make Python programs more reliable. GitHub Code: https://lnkd.in/g__F-gup #Day69 #100DaysOfCode #Python #ExceptionHandling #TryExceptFinally #LearningPython #CodingJourney #DailyCoding #Consistency
To view or add a comment, sign in
-
-
🚀 Day 25/30 – Mini Python App Challenge Built a Hangman Game 🎯 using Python. Features: • Random word selection • Letter-by-letter guessing • Limited attempts • Win/Lose logic Concepts used: loops, lists, conditionals, random GitHub 👇 🔗 https://lnkd.in/dCSFW_Hd #Python #LearningInPublic #30DaysOfCode #GameDev #github #mondaymotivation #dailymotivation
To view or add a comment, sign in
-
-
Day 64 – Counting Lines in a File using Python: Day 64 focused on counting the number of lines in a file using Python. I practiced reading file contents, using readlines() to store lines in a list, and calculating the total using len(). This exercise strengthened my understanding of file reading techniques, list handling, and efficient resource management using both the traditional method and the with statement. GitHub Code: https://lnkd.in/g3nfR4_j #Day64 #100DaysOfCode #Python #FileHandling #LearningPython #CodingJourney #DailyCoding #Consistency
To view or add a comment, sign in
-
-
Day 53 – Converting List to Tuple and Extending It: Day 53 focused on converting a list into a tuple and extending it by creating a new tuple with additional user inputs. This task reinforced the concept of tuple immutability and demonstrated how data structures can be transformed and expanded safely while maintaining structure integrity. GitHub Code: https://lnkd.in/gajfJBG8 #Day53 #100DaysOfCode #Python #Tuples #ListToTuple #DataStructures #DailyCoding #Consistency
To view or add a comment, sign in
-
-
Day 54 – Converting Tuple to List and Updating It: Day 54 focused on converting a tuple into a list to enable modifications, then appending new user-provided elements. This task reinforced the concept of tuple immutability and demonstrated how converting to a list allows dynamic updates while preserving original data structure principles. GitHub Code: https://lnkd.in/gy8R-Wr4 #Day54 #100DaysOfCode #Python #Tuples #Lists #DataStructures #DailyCoding #Consistency
To view or add a comment, sign in
-
-
🚀 Solved Today’s POTD (23 Feb 2026): Union of Arrays with Duplicates on GeeksforGeeks using Python 🐍 Problem: Given two arrays, return the union of both arrays containing only distinct elements. Approach: Used Python’s Set data structure: • Converted both arrays into sets (automatically removes duplicates) • Used set union operation to combine elements • Returned the result as a list This problem reinforced the importance of choosing the right data structure for cleaner and more efficient solutions. 💡 Time Complexity: O(n + m) Small problems, strong fundamentals 💪 Consistency continues! #day8 #geekstreak60 #npci #geeksforgeeks #dsa #python #learning #problemsolving #codingjourney
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