Python Basics: Negative Indexing & String Functions

🌙 Day 7/100 | #100DaysOfCode 🚀 Showing up every day matters more than going fast. Today, I explored some very practical Python concepts that are used a lot in real-world coding 🐍 🔹 Negative Indexing I learned how Python allows us to access elements from the end of a list or string. Using -1 gives the last element, -2 the second last — simple, but extremely useful for clean logic. 🔹 String Functions Worked with commonly used string methods that make text handling easier and cleaner: upper() – convert text to uppercase lower() – convert text to lowercase title() – format text into title case format() – create dynamic and readable output Small concepts, but they play a big role in building a strong programming foundation. 📌 Learning step by step 📌 Staying consistent 📌 Trusting the process #Python #100DaysOfCode #PythonLearning #CodingJourney #DeveloperLife #LearningInPublic #Consistency

To view or add a comment, sign in

Explore content categories