🚀 Day 13/30 – Python Challenge Diving into string operations in Python! 🐍 🔹 Key Concepts Covered: * String methods like upper() and lower() * Finding length using len() * Replacing text using replace() * String slicing 💻 Mini Task: Worked with a string to perform multiple operations like changing case, finding length, replacing words, and extracting specific parts of the text. 🎯 Learning Outcome: Learned how powerful string operations are in Python and how they help in processing and manipulating text efficiently. Understanding text handling step by step 💡 #Python #CodingChallenge #LearningJourney #Strings #StudentDeveloper #Day13
Python String Operations Challenge Day 13
More Relevant Posts
-
💻 Day 4 of #100DaysOfCode Today I learned about Tuples, Sets, and Dictionaries in Python 🐍 What I covered: - Tuples and their properties - Sets and how they store unique values - Dictionaries (key-value pairs) - Difference between Lists, Tuples, and Sets I also practiced small programs to understand how each data structure works in real scenarios. This helped me understand where to use each one and how data can be stored in different ways. Learning step by step and improving daily 💪 See you all tomorrow with new learnings and more progress 🚀 #Python #100DaysOfCode #CodingJourney #Learning #Consistency
To view or add a comment, sign in
-
🚀 Day 3 — Python Journey Today’s focus was on float operations in Python (working with decimal numbers). 📌 What I learned: Float declaration Addition, subtraction, multiplication, division Rounding values using round() Scientific notation Precision handling in floats 💡 What I found interesting: Float values are not always 100% accurate due to precision limitations. Even simple calculations can sometimes give unexpected results. Understanding this early is important, especially for real-world applications like finance or data science. Step by step, trying to build a strong foundation. #Day3 #Python #CodingJourney #LearnInPublic #Consistency
To view or add a comment, sign in
-
-
#MachineLearning #Python #AI #DataScience #Pickle After building your AI model, the training phase can take a long time, and you may close VSCode. It is not logical to train the model again every time you run your code. This is where Python’s pickle module becomes invaluable. It allows us to serialize (save) and deserialize (load) Python objects, including our AI model. With model.pickle, we don’t need to train the model again next time — we just load it and use it directly.
To view or add a comment, sign in
-
-
This one NumPy concept saved me hours of coding 👇 👉 Vectorization Earlier, I used loops for almost everything in Python. It worked… but it was slow and messy. Then I discovered this: Instead of processing data element by element, NumPy lets you operate on the entire array at once. Example: Adding 10 to every number Before (Python list): → loop through each element Now (NumPy): → one single line That’s it. This small shift leads to: - faster execution - cleaner code - better performance on large datasets The real change is in thinking: ❌ Think in loops ✅ Think in operations on data That’s when NumPy actually starts making sense. If you’re learning NumPy, focus on this concept early. #NumPy #Python #DataScience #DataEngineering #MachineLearning #CodingJourney #TechLearning
To view or add a comment, sign in
-
-
I expected Python to feel like magic immediately. It didn't. What actually happened: - I spent 40 minutes on indentation errors - I wrote my first function and it felt oddly satisfying - I realized how readable Python is compared to what I imagined If you're also in the early stages — this is your sign to keep going. The confusion is part of it. What was YOUR first Python/AI moment? #Python #LearningInPublic #AIJourney #100DaysOfCode #PakistanTech
To view or add a comment, sign in
-
Today’s focus was on string manipulation in Python, which is an essential part of handling real-world data. I practiced different operations to understand how strings can be processed and transformed efficiently. Here’s what I worked on: • Extracting characters at even indices • Replacing spaces with underscores • Checking if a string contains only digits • Reversing a string using slicing • Capitalizing the first letter of each word These exercises helped me improve my understanding of string handling, indexing, and built-in Python methods. Building consistency and strengthening fundamentals step by step. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous guidance and support. #Python #CodingJourney #LearnInPublic #PythonStrings #Programming #100DaysOfCode #Consistency #TechSkills
To view or add a comment, sign in
-
-
🚀 Day 3/100 – Python & DSA Journey Today I worked on finding the square root of a number using Python. Instead of using just one approach, I explored multiple ways: 🔹 Using exponent operator (**0.5) 🔹 Using built-in math functions What I learned today: ✔ How mathematical operations translate into code ✔ Difference between basic operations and using libraries ✔ Importance of handling edge cases (like negative numbers) ✔ When to use math vs cmath
To view or add a comment, sign in
-
-
Day 2 of #30DaysOfLearning at #M4ACE Today I learned about variables in Python. At first, it felt like a small thing, but it actually made everything make more sense. Variables are just a way to store information so you can use it later. Instead of repeating values all over the place, you just give it a name and call it whenever you need it. It sounds simple, but I’m starting to see how important it is. This is how you keep your code organized and readable. Still taking it one step at a time, but I’m beginning to feel more comfortable. #Python #LearningInPublic #MachineLearningJourney #M4ACElearningchallenge
To view or add a comment, sign in
-
Day 33/100 – #100DaysOfCode 🚀 Solved LeetCode #1480 – Running Sum of 1d Array (Python). Today I practiced prefix sum logic to compute the running sum of an array. Approach: 1) Initialize an empty list to store the running sum. 2) Maintain a variable sum = 0. 3) Traverse the array and keep adding each element to sum. 4) Append the updated sum to the result list. 5) Return the final running sum array. Time Complexity: O(n) Space Complexity: O(n) Understanding prefix sums helps solve many array problems efficiently 💪 #LeetCode #Python #DSA #Arrays #PrefixSum #ProblemSolving #100DaysOfCode
To view or add a comment, sign in
-
-
Built Linear Regression from scratch using Python (no libraries) Wanted to understand what’s happening under the hood before moving to sklearn. So I implemented a simple model to predict marks based on hours studied using Gradient Descent. 🔹 What I did: Implemented the prediction function (y = wx + b) Calculated Mean Squared Error (MSE) manually Computed gradients and updated parameters over 1000 epochs 🔹 What I learned: How gradient descent updates weights step by step Why learning rate plays a critical role How loss decreases as the model learns 🔹 Result: The model successfully learned the relationship. Example: If a student studies 9 hours → predicted marks ≈ 89.3 🔗 Code: https://lnkd.in/gPHCenhB Next step: implementing this using NumPy and then sklearn. #MachineLearning #Python #LearningInPublic
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