🐍 Day 3: Python Learning Today I explored one of Python’s most powerful concepts — Slicing — and practiced a program to count vowels and consonants in a string. 🧩 Topic Covered: Slicing in Python 💡 Learned how to extract parts of strings using the syntax: sequence[start:end:step] ✨ Highlights: Understood start, end & step parameters Practiced reversing strings using [::-1] Wrote a Python program to count vowels and consonants efficiently >> And along with these two new function i known: > lower(): used to make string in lowercase. > isalpha(): used to check the character value is alphabet not any other character. Every small step adds up — building my Python foundation stronger each day! 💪 #Python #PythonLearning #CodingJourney #CodeNewbie #LearnToCode #100DaysOfCode #PythonForBeginners #Programming #DeveloperCommunity #TechSkills #DailyLearning #PythonProgramming
Mastering Python Slicing: Counting Vowels and Consonants
More Relevant Posts
-
Python Dictionary Comprehension Practice Today I Practiced solving problems using Dictionary Comprehension in Python, which helped me write shorter, cleaner, and more efficient code. Concepts I worked on: Creating dictionaries of squares and filtered even numbers Character frequency counting Inverting keys and values Conditional filtering (values > 10) Odd/Even labelling Working with ASCII values and word lengths Learning these helped me understand how Python handles key-value pairs efficiently using just one line of logic. Every day, one new concept, one step closer to mastering Python! Sharing my practice work below #Python #DictionaryComprehension #CodingPractice #LearningJourney #FullStackDeveloper #10000Coders #CodeEveryday #Programming #Thank_You Ajay Miryala Sir
To view or add a comment, sign in
-
📘 Day 3 – Python Functions & OOP Concepts Continuing my Python learning series! Day 1: Python Basics: https://lnkd.in/gwg45mGq Day 2: Python Operators & Loops: https://lnkd.in/gfnnZPmX Today’s notes focus on two important topics: Functions & OOP Perfect for anyone building a solid Python foundation. Check out the notes and keep learning! 🐍✨ #Python #Coding #LearningPython #PythonForBeginners #Programming #OOP #Functions #CodeNewbie #PythonTips #StudyNotes
To view or add a comment, sign in
-
Stop Guessing, Start Mastering Python Collections! 🐍 This is a must-have cheat sheet for every developer working with Python. Lists, Tuples, Sets, and Dictionaries are the foundational data types—and knowing when to use each (mutable vs. immutable, ordered vs. unordered, duplicates or not) is crucial for writing efficient code. Save this for a quick reference on their key properties and most useful methods like append(), union(), get(), and pop(). Which one do you use the most in your daily projects? 👇 #Python #DataStructures #CodingTips #SoftwareDevelopment #Programming
To view or add a comment, sign in
-
-
🚀 Star Pattern Name Generator in Python! 🌟 I recently created a Python program that prints names using star patterns (✳️) for each alphabet. The program uses a custom def word() function and conditional logic to print each letter row by row — a creative way to combine loops, conditionals, and pattern logic in Python. This project helped me strengthen my understanding of: ✅ Nested loops ✅ Conditional statements ✅ String manipulation ✅ Function-based modular programing This project made me realize how creative coding can be — it’s not just logic, it’s art made with loops! 🎨💻 I’m super excited to keep building more creative Python projects and share them with everyone here. More to come soon — stay tuned! 🔥 #Python #Coding #Learning #Innovation #815LinesOfCode #CreativeCoding #ProgrammersLife #PythonProjects #CodingJourney
To view or add a comment, sign in
-
💡Understanding Constructors in Python(OOPs concept) In Python, the __init__() method is a constructor, also known as a special or magical method. '''Python class A: def __init__(self,s): self.x=s def f2(self): self.a=self.x+10 print("a=",self.a) obj=A(100) obj.f2() print("a=",obj. a)''' #Output: a=110 b=110 #Python #OOP #Constructor #Programming #Learning
To view or add a comment, sign in
-
🚀 New Blog Post Alert! I’ve just published a new article on Python fundamentals — covering what Python is, its core data types, and how explicit type conversion works with real examples. 🐍 If you're starting your Python journey or brushing up on the basics, this guide is for you! 👉 Read here: https://lnkd.in/gpRrBVjc 💡 In this post, you’ll learn: What makes Python beginner-friendly Common data types (int, float, str, list, dict, etc.) The difference between implicit and explicit type conversion Simple examples you can run yourself Let’s keep learning and building with Python! 💻✨ #Python #Coding #Programming #PythonForBeginners #LearnToCode #Hashnode #TechBlog
To view or add a comment, sign in
-
🚀 Ep.11 – Python Error Handling In this episode of my Python Short Video Series, we cover how to make your programs safer and more reliable by handling errors properly: - Catch common Python errors - Use try-except blocks for basic error handling - Handle multiple exceptions - Raise custom exceptions with raise Whether you’re a beginner or refreshing your Python skills, this video shows practical techniques to write robust Python code. 🔗 Watch the video: https://lnkd.in/dkx7Q7jQ #Python #PythonProgramming #ErrorHandling #TryExcept #CustomExceptions #BeginnerPython #LearnPython #Coding #Programming
To view or add a comment, sign in
-
**🚀 Day 45 of my #50DaysOfCode Challenge** 📘 **Topic:** Python Objects 🔍 **What I Learned:** In Python, everything is an **object**. Anything that can be assigned to a variable—like strings, integers, floats, or lists—is treated as an object. For example: * `"A"` → String object * `1.25` → Float object * `[1, 2, 3]` → List object Objects make Python a powerful and flexible object-oriented language. 🧠 **Key takeaway:** Every value in Python is an object, no matter how simple it looks! #Python #Learning #CodingChallenge #100DaysOfCode #Programming #NxtWave
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