🚀 Python Learning Journey – Small Concept, Big Clarity! 💠 I learned a small but interesting concept today 👇 👍 Let’s Test Your Logic !!!!! 🤔How to find the 2nd occurrence of a character in a string 🔸Let’s try a quick challenge: 📌 Consider this string: "pythonn" ❓ Question: What is the position of the second occurrence of "n"? 🤔 Take a moment and guess before you look below… 💡 Here’s the Python logic: a = "pythonn" b = a.find("n") print(a.find("n", b+1)) 👇 Drop your answer in the comments! I’ll share the correct answer soon 😉 #Python #CodingChallenge #LearningJourney #Beginners #Programming #WomenInTech
Python find 2nd occurrence of a character
More Relevant Posts
-
💡 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
-
-
🚀 Just Published My First Medium Article! I’m excited to share my first blog on Medium: 👉 Python Basics – Part 1 As a beginner, I started exploring Python and realized something important — strong fundamentals make everything easier later. In this article, I’ve covered: ✔️ Variables and data types ✔️ Basic syntax and operations I also tried to keep it simple and beginner-friendly, so anyone starting their coding journey can understand it easily. 💡 Learning is not about knowing everything at once — it’s about starting small and staying consistent. This is just the beginning of my journey into tech and self-improvement. 🔗 Read my full article here: https://lnkd.in/dfFnCFm2 I’d love to hear your feedback and suggestions! #Python #LearningJourney #Beginners #Coding #SelfImprovement #WomenInTech
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
-
🚀 Today I Learned: Python Lists Continuing my Python journey, today I explored one of the most important concepts — Lists. 🔹 What I learned: - Creating lists to store multiple values - Accessing items using index - Adding & removing elements (append, insert, remove, pop) - Updating list values - Using loops to iterate through a list 🔹 Small practice: I created a list of numbers and calculated the average using Python. 💡 Lists are very useful in real-world projects for handling data efficiently. I’m excited to keep learning and building more with Python every day! #Python #LearningJourney #Coding #Programming #Beginners #100DaysOfCode
To view or add a comment, sign in
-
My Python Journey: Lists + Loops Today, I focused on building a strong foundation in Python with lists and loops. I practiced 10 essential problems, including: 🔹Printing all elements of a list 🔹Accessing elements at even indices 🔹Filtering even numbers 🔹Finding numbers greater than a threshold 🔹Calculating the sum of all elements (without sum()) 🔹Counting total elements (without len()) 🔹Counting numbers greater than 5 🔹Finding the smallest number (without min()) 🔹Printing a list in reverse (using loops) 🔹Creating a new list with squares of numbers 💡 Key takeaways: Loops are powerful for iteration and data manipulation Conditional checks inside loops make Python very flexible Practicing manually (without built-ins) strengthens problem-solving skills. Here’s a glimpse of my list of numbers I practiced on: nums = [14, 13, 27, 34, 20, 16, 23, 82, 49, 83] Feeling confident and ready for Day 2 challenges! 🔥 #Python #DataAnalytics #CodingJourney #100DaysOfCode #LearningByDoing #ProblemSolving
To view or add a comment, sign in
-
-
🎯 Tech Learning Journey - Day 06: Python List Comprehensions - Write Less, Do More! List comprehensions are a shortcut for creating lists in Python. Instead of writing multiple lines with loops, you can build a new list in just one clean line that reads like English. # Traditional way \(takes 3 lines\) squares = \[\] for num in range\(5\): squares.append\(num \*\* 2\) # List comprehension \(1 line!\) squares = \[num \*\* 2 for num in range\(5\)\] Where I use this: Transforming data, filtering lists, and making my code shorter and more readable. #Python #Coding #Programming #ListComprehensions
To view or add a comment, sign in
-
-
Master these 3 essential Python string programs that every developer should know! 🔥 ✅ Anagram Checker ✅ Pangram Checker ✅ Unique Words Checker These short and elegant programs demonstrate core Python concepts like sorting, sets, and string manipulation. Which one is your favorite? Would you use any of these in your projects? Save this post for quick reference and tag a friend who is learning Python! Follow Ultra Pythonic for more clean, practical Python code and learning resources. #Python #LearnPython #Coding #Programming #PythonProgramming
To view or add a comment, sign in
-
-
Day 4/30 – Exploring Python concepts Today I spent some time learning important Python concepts like loops, lists, tuples, and dictionaries. Loops help us repeat tasks efficiently instead of writing the same code multiple times. Lists and tuples allow us to store multiple values in a single variable, making data easier to manage. Dictionaries help organize data in a key-value format, which makes accessing information faster and more structured. Understanding these concepts helped me see how Python can be used to handle data and automate tasks in a much simpler way. Each small concept I learn is helping me build a stronger foundation in programming. Excited to keep learning and improving every day. ✨ #Day4 #30DaysOfPosting #PythonLearning #CodingJourney #ProgrammingBasics #LearningJourney
To view or add a comment, sign in
-
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
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
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