📌 Day 4 of My #50DaysOfPython Challenge 🐍 Today’s task was to check whether a given string is a Palindrome ✅ A palindrome is a word that reads the same forwards and backwards — like level, madam, racecar. This helped me improve: 🔹 String manipulation 🔹 Case-insensitive comparison 🔹 Logic building in Python 🧪 Example: ➡️ Input: Level ✔️ Output: The string is palindrome ✅ Learning one step at a time, improving every day! 💪✨ More challenges ahead 🚀 #Python #50DaysOfPython #CodingChallenge #ProgrammingJourney
More Relevant Posts
-
📌 Day 6 of My #50DaysOfPython Challenge 🐍 Today’s task was to check whether a number is Prime or Not. 🔢 A prime number is a number greater than 1 that has no divisors other than 1 and itself. This concept strengthened my understanding of loops, conditional logic, and flag variables in Python. 🧠 What I Learned: 🔹 How to use a flag variable → A flag is like a status indicator that stores a True/False condition. → Example: We assume a number is prime (True) and change the flag if it isn’t. 🔹 How to optimize loops by checking only up to √n 🔹 Logical thinking and condition-based decisions Every line of code teaches something new 💪 On to Day 7 tomorrow! 🚀 #Python #CodingChallenge #50DaysOfPython #ProblemSolving #WomenInTech #LogicBuilding #LearnToCode
To view or add a comment, sign in
-
🚀 Problem: Given an unsorted array of integers, find the length of the longest consecutive sequence — and do it in O(n) time. 💡 Challenge: Most solutions use sorting (O(n log n)), but the goal is linear time complexity. 🧠 Solution: I optimized the approach using a HashSet (Set in Python) — which allows O(1) lookups — and only starts counting when a number is the beginning of a sequence. This ensures every number is visited once. ✅ Result: Efficient O(n) solution with 0ms runtime on LeetCode. #Python #LeetCode #ProblemSolving #CodingJourney #DSA #Algorithms #DeveloperMindset
To view or add a comment, sign in
-
-
🚀 Today’s Python Challenge: Print Palindrome Numbers You’re given two integers — a start and an end of a range. Your task is to print all palindrome numbers between them (inclusive). 💡 A palindrome number remains the same when its digits are reversed. If no palindrome exists, print "No palindrome numbers". ✅ Example Input: 10 150 ✅ Output: 11 22 33 44 55 66 77 88 99 101 111 121 131 141 👨💻 I implemented it efficiently using string reversal in Python — code accepted on the first run! #Python #CodingChallenge #DSA #ProblemSolving #100DaysOfCode #LearnToCode #ProgrammersLife #LinkedInCoding
To view or add a comment, sign in
-
-
Just eliminated an entire process with 20 lines of Python 🐍 The problem: Manually renaming hundreds of student files to match registry conventions The old way: 2-3 hours of mind-numbing clicking The new way: Run script. Get coffee. Done. python # What used to take hours now takes seconds for file in folder: new_name = transform_to_standard(file) rename(file, new_name) sanity_restored += 1 Sometimes the best process is no process. #Python #Automation #RegistryLife #WorkSmarter
To view or add a comment, sign in
-
#Day20 #100DaysOfCode 🧩 Problem: Given a matrix where each row and column is sorted in increasing order, determine whether a given element x exists in the matrix. 💡 Approach: Instead of searching every element, I used an optimized O(n + m) approach — starting from the top-right corner and moving left or down based on comparisons. #100DaysOfCode #Day20 #Python #CodingChallenge #DataStructures #Algorithms #Matrix #SearchAlgorithm #ProblemSolving
To view or add a comment, sign in
-
-
Confused about coordinate reference systems (CRSs)? 🧭🌍🐍 Chapter 6 of Geocomputation with Python dives into: - Geographic vs projected CRSs (lon/lat vs meters) - Getting, setting & reprojecting CRSs - Why ignoring CRSs can break your analysis 🚨 👉 https://lnkd.in/diXmB8Rs #GeoPython #Python #GISchat #geocompx
To view or add a comment, sign in
-
-
💡 Creating Arrays using NumPy! Just explored how to create and manipulate different types of arrays using NumPy — from 1D to multidimensional arrays, along with functions like arange(), zeros(), ones(), and linspace(). This helped me understand how NumPy makes numerical operations faster and more efficient. ⚡📊 🔗 GitHub Repository: https://lnkd.in/gsPj_hxs 👨🏫 Under the guidance of: Ashish Sawant #NumPy #Python #DataScience #MachineLearning #CodingJourney #LearningEveryday
To view or add a comment, sign in
-
Problem Solving Series - Day 1 Today's topic: Abundant Number in Python An Abundant Number is a number whose sum of proper divisors is greater than the number itself. For example, 12 + divisors are 1, 2, 3, 4, 6+ sum = 16 > 12 (Abundant!) In this reel, I've explained: What is an Abundant Number ✅️Step-by-step logic building ✅️Python implementation & output ✅️Start your problem solving journey with me one concept at a time! Comment "Day 1" if you want the source code! #python #problemsolvingseries #abundantnumbers #pythonprogramminglanguage #codingforbeginners #learnpython #codingchallenge #newbedutech
To view or add a comment, sign in
-
📌 Day 8 of My #50DaysOfPython Challenge 🐍 🔹 Task: Fibonacci Series using Recursion Today’s challenge helped me dive deeper into recursion, one of the most powerful concepts in Python! I learned how a function can call itself to generate the Fibonacci sequence — a great exercise for understanding base cases and recursive logic flow. 🧠 Key Takeaways: How recursion works with base and recursive cases The difference between iteration and recursion Importance of function calls and return values 🧪 Example: Input: 7 Output: 0 1 1 2 3 5 8 This challenge helped me strengthen my problem-solving and logical thinking skills 🚀 #Python #CodingChallenge #LearningJourney #Fibonacci #Recursion #100DaysOfCode #PythonProgramming
To view or add a comment, sign in
-
🚀 **Day 10 – Python Practice Problems** | #elan-20&eatek Today’s focus was on mastering the **fundamentals of Tuples and Sets in Python** 🔁🧩 ✅ Problem 1: Played around with tuples – indexing, counting, and finding element positions. ✅ Problem 2: Got hands-on with set basics – adding, removing, and understanding uniqueness. ✅ Problem 3: Explored set operations like union, intersection, and difference. These concepts are foundational for writing efficient, clean, and Pythonic code. 🔥 Here’s to another step forward in this #100DaysOfCode-style journey! Let’s keep building! 💪👨💻👩💻 #Python #CodingChallenge #ElanEatek #LearnByDoing #Day10 #CodeNewbie #DataStructures #PythonSets #Tuples #ElanEatekJourney #elan-20&eatek
To view or add a comment, sign in
-
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