Day 14 of My Coding Challenge 💻🔥 Today’s problem was about working with dates in Python — calculating a date 9 months in the future 📅 ✨ Key Learnings: Handling month overflow (12+ months) Managing edge cases like February (28/29 days) Using Python’s datetime and calendar modules 🧠 Example: Input: 2025-04-27 Output: 2026-01-27 This problem improved my understanding of real-world date handling logic, which is very useful in applications like billing systems, subscriptions, and scheduling systems. 🔗 Check out my solution on GitHub:https://lnkd.in/dRygaZbk #Python #CodingChallenge #freecodecamp #Programming #Developer #Learning #GitHub
Python Coding Challenge: Handling Dates and Month Overflow
More Relevant Posts
-
🚀 New Franktek Academy Guide Setting up Python and PIP on Ubuntu 26.04 LTS (Resolute Raccoon) doesn’t have to be complicated. Our latest article walks you through the installation process step‑by‑step, covering system packages, virtual environments, and best practices to keep your development environment clean and reliable. 👉 Read the full guide here: https://lnkd.in/d7qfjrsH #Ubuntu2604 #Python #PIP #DevTools #FranktekAcademy #ResoluteRaccoon
To view or add a comment, sign in
-
Most of us learned Python package management the same way: - pip install ... - set up venv - manage requirements.txt It works... but it’s not always the smoothest experience, especially for beginners. I recently published a short article exploring pip vs uv, a newer tool that’s rethinking how Python developers manage dependencies and environments. Why it matters: - Much faster installs (written in Rust) - Built-in environment management - Simpler workflow (fewer moving parts) Read the full article here: https://lnkd.in/gipM8p7T Curious to hear from the community: Are you sticking with pip, or experimenting with tools like uv? #Python #SoftwareDevelopment #DeveloperTools #Programming #Tech
To view or add a comment, sign in
-
🚀 Day 16 of My Coding Journey Today, I solved a Prank Number Problem 🔢 using Python. The challenge was to identify a number in a sequence that breaks the pattern and fix it based on consistent progression. 🔍 Key highlights: • Detected the pattern using differences between consecutive elements • Handled both increasing and decreasing sequences • Identified and corrected the outlier element • Managed edge cases like incorrect starting values 💡 Key learnings: Improved analytical thinking and pattern recognition Strengthened problem-solving using arrays and loops Learned to handle tricky edge cases effectively Consistency is key — learning something new every day 🚀 🔗 GitHub Repository:https://lnkd.in/dRygaZbk #Python #freecodecamp #CodingJourney #ProblemSolving #Developers #LearningByDoing
To view or add a comment, sign in
-
🐍 Programming Fundamentals — Lab #5 is Live! Making decisions in code is one of the most powerful things you can do as a programmer — and that's exactly what we explored this week! In Lab #5: Conditional Statements in Python, we dived deep into how Python controls the flow of a program based on conditions: ✅ if statement — run code only when a condition is True 🔀 if-else — choose between two paths 🔢 if-elif-else — handle multiple possibilities elegantly 🪆 Nested if — conditions within conditions 🔗 Logical operators (and, or, not) inside conditions ⚡ Ternary operator — one-line if-else expressions We also practiced 30+ exercises — from grade calculators and BMI classifiers to FizzBuzz and leap year checkers. Real problems, real logic! Every program you've ever used makes thousands of decisions per second. Now you know how to write yours. 💡 If you're a beginner learning Python, follow along — we're building solid foundations one lab at a time! 🚀 #Python #ProgrammingFundamentals #LearnToCode #ConditionalStatements #100DaysOfCode #UniversityOfLahore #CodingJourney #TechEducation #PythonBeginners
To view or add a comment, sign in
-
𝐇𝐎𝐖 𝐈 𝐎𝐏𝐓𝐈𝐌𝐈𝐙𝐄𝐃 𝐏𝐘𝐓𝐇𝐎𝐍 Your Python runs slow. I cut run time. Three steps worked for me. - Change code in small bits. - Test each change fast. - Track only run time. - Use tips from online. Before: 3 hours. After: 1 hour. Speed up 67%. Apply these steps. Your code will improve. Source: https://lnkd.in/g5Umsa-t #webdev #programming #productivity
To view or add a comment, sign in
-
🎯 Tech Learning Journey - Day 02: Python Functions - Reusable Code Blocks! Functions are like little programs within your program. You write code once, give it a name, and reuse it whenever you need the same task done - no more copying and pasting! def greet\_user\(name\): message = f"Hello, \{name\}! Welcome aboard!" return message # Use it as many times as you need print\(greet\_user\("Dhanush"\)\) print\(greet\_user\("Alex"\)\) Where I use this: Calculations that I need repeatedly, validating user input, and organizing my code into manageable chunks. #Python #Coding #Programming #Functions
To view or add a comment, sign in
-
-
I’ve just published my first Python project on GitHub. This is a command-line Contact List application developed to practice core programming concepts such as data structures, input validation, and basic CRUD operations. Key features: • Add, edit, and delete contacts • Search functionality • Automatic ID generation • Duplicate prevention (email/phone) This project is part of my transition into software engineering, and I’ll continue building more applications to strengthen my skills. Repository: https://lnkd.in/g7kFu8PD #Python #GitHub #SoftwareEngineering #Programming #CareerTransition
To view or add a comment, sign in
-
“🚀 Mini Project Completed! I built a Student Record Management System using Python. 🔹 Features: ✔ Create student records ✔ View records ✔ Update marks ✔ Delete records 📚 Concepts used: Loops, Conditional Statements, Functions, Dictionaries, and CRUD Operations. This project helped me understand how real-world applications manage data. Looking forward to building more such projects! GitHub Repository: https://lnkd.in/dSf4acEY “Currently improving this project by adding file handling / database” #Python #Projects #Learning #CodingJourney”
To view or add a comment, sign in
-
-
🚀 100 Days of Code – Restarting My Python Journey #Day29 of #100DaysOfCode Continuing my Python journey with 📘 “100 Days of Code: The Complete Python Pro Bootcamp” on Udemy by Angela Yu (London App Brewery). 🎯 Day 29 Project — Password Manager 🔐 Built a GUI-based password manager using Tkinter that can: - Generate strong, random passwords - Store credentials securely - Retrieve saved data when needed This project combined GUI development, file handling, and logic building to create a practical and usable application. 🔗 Check out my progress here: https://lnkd.in/gAufnQ8F One key takeaway: Building tools that solve real problems makes learning far more impactful. The focus remains: consistency + deep understanding + building in public. 💡 Small steps daily. Big results over time. More updates coming soon… stay tuned! #100DaysOfCode #Python #CodingJourney #LearnInPublic #DeveloperLife #GitHub #Consistency #Day29 #Udemy #BackToLearning #Tkinter
To view or add a comment, sign in
-
-
🚀 Starting the Journey with Python Every expert was once a beginner. Today marks another step forward in my programming journey as I explore Python using IDLE on macOS. This simple script may look basic, but it represents something powerful: 👉 Understanding user input 👉 Working with variables 👉 Building logic step by step ``` name = input("What is your name? ") print("Hello " + name) ``` Small beginnings lead to big results. Consistency and curiosity are the keys to growth in tech. 💡 Next step: Expanding this into real-world projects and automation. #Python #Programming #Learning #CodingJourney #TechSkills #SoftwareDevelopment #BeginnerToPro #Innovation
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