Python Learning Journey – Day 8 🚀 Today’s focus was on string manipulation in Python, which is an essential part of handling real-world data. I practised 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. These exercises helped me build consistency and strengthen fundamentals step by step. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous guidance and support. #Python #CodingJourney #LearnInPublic #PythonStrings #Programming #Consistency #TechSkills
Python String Manipulation Exercises
More Relevant Posts
-
🚀 Python Learning Series – Part 2 Continuing my Python journey, this part focuses on building a strong foundation with core concepts that are essential for writing efficient programs. 📌 In this part, I’ve covered: • Variables & Data Types • Type Casting • Operators (Arithmetic, Comparison, Logical, etc.) • Input/Output & f-strings • Conditional Statements (if, elif, else) These concepts are fundamental for anyone starting with Python and form the base for advanced topics ahead. 💡 More parts coming soon as I continue learning and improving step by step. I’d love to hear your feedback and suggestions! #Python #LearningJourney #Programming #CodingBasics #DataAnalytics #TechSkills
To view or add a comment, sign in
-
🚀 Day 15/30 – Python Challenge Learning file handling in Python! 🐍📂 🔹 Key Concepts Covered: * Opening files using open() * Writing data to a file ("w" mode) * Reading data from a file ("r" mode) * Closing files properly 💻 Mini Task: Created a file, wrote some text into it, and then read the content back and displayed it. 🎯 Learning Outcome: Understood how Python can interact with files, which is essential for storing and retrieving data in real-world applications. Getting closer to real-world programming step by step 🚀 #Python #CodingChallenge #LearningJourney #FileHandling #StudentDeveloper #Day15
To view or add a comment, sign in
-
-
📘 Today’s Learning – Python Strings & Slicing 🐍 Today I explored one of the most important concepts in Python — Strings and Slicing. 🔹 Learned what strings are and how they store text data 🔹 Understood that strings are immutable (cannot be changed directly) 🔹 Practiced indexing to access characters 🔹 Learned slicing (start : stop : step) to extract parts of strings 🔹 Explored negative indexing and string reversal using slicing 🔹 Understood difference between strings vs lists 🔹 Practiced string methods, operators, and loops 🔹 Learned f-strings for clean and professional output 💡 One key takeaway: 👉 Slicing and indexing are very powerful for data manipulation and are widely used in real-world applications. 📌 Also practiced a small logic: Counting vowels in a string using loops and conditions. Step by step, improving my Python fundamentals 🚀 #Python #LearningJourney #DataScience #Coding #Beginner #Strings #Programming #100DaysOfCode #FullStackAcademy
To view or add a comment, sign in
-
-
🔁 Python Revision – Lists & List Comprehension Continuing my Python fundamentals revision 🐍 In this session, I focused on: ✔️ Lists (creation, indexing, slicing) ✔️ List methods (append, remove, sort, etc.) ✔️ Iterating through lists ✔️ List Comprehension Practiced working with lists to store and manipulate data efficiently, and explored list comprehension for writing cleaner and more concise code. Documented my practice in a Python Notebook and shared it as a PDF to track my progress. Learning how to handle data in Python step by step 📊 #Python #Revision #Lists #ListComprehension #Programming #DataAnalytics #LearningJourney
To view or add a comment, sign in
-
(DAY-9) 🚀 Mastering String Operations in Python Understanding string operations is a must for every Python learner. From accessing characters using indexing to extracting data with slicing, these concepts form the foundation of text processing. In this post, I’ve explained key string operations like indexing, slicing, membership, and length with clear examples to help you learn faster and smarter. 💡 📌 Save this post for revision and keep practicing to strengthen your Python skills! #Python #Coding #LearnPython #Programming
To view or add a comment, sign in
-
-
Day 3 of learning Python. Didn’t jump into anything complex… just focused on understanding input and output properly. At first it looked very simple — input() and print() — but when I actually tried small programs, I realized how important this is. Especially the part where Python takes everything as string by default and we need to convert it using int() or float(). Tried a few basic programs like taking numbers from user and printing the sum. Small thing, but felt good seeing it work. Feels like I’m finally building the base properly instead of rushing. Next step → learning conditions (if-else) and writing better logic. #Python #Learning #DevOpsJourney
To view or add a comment, sign in
-
-
🚀 Day 10/30 – Python Challenge Learning about tuples in Python today! 🐍 🔹 Key Concepts Covered: * Creating tuples * Accessing elements using index * Iterating through tuple elements using loops * Understanding immutability (tuples cannot be changed) 💻 Mini Task: Created a tuple of numbers, accessed the first element, and used a loop to display all the values. 🎯 Learning Outcome: Understood how tuples are used to store fixed collections of data and how they differ from lists. They are especially useful when data should not be modified. Building a strong foundation in data structures step by step 💪 #Python #CodingChallenge #LearningJourney #DataStructures #StudentDeveloper #Day10
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
-
-
🚀 Python Learning Journey – Day 4 Today I explored an interesting concept in Python – String Slicing with Skip Value 🔥 📌 What I Learned: ✔️ We can slice strings using start : end : step ✔️ The step (skip value) helps us jump characters ✔️ Makes data extraction faster and more efficient 💻 Example: word = "amazing" print(word[1:6:2]) 👉 Output: mzn 💡 Explanation: We start from index 1 and skip every 2 characters → m, z, n 📌 Other Useful Slicing Tricks: 🔹 From beginning: print(word[:7]) 🔹 Till the end: print(word[0:]) 🔹 Reverse a string: print(word[::-1]) ✨ Python slicing is simple but very powerful when working with text data! #Python #Coding #LearningJourney #100DaysOfCode #Programming #Beginners
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
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