Day 3 of my 100 Days of Code challenge! 💻 Today I focused on practicing conditional logic in Python by building three small projects: • Treasure Island – a text-based adventure game where user choices determine the outcome. • Rollercoaster Ticket Calculator – checks height eligibility and calculates ticket prices based on age and add-ons. • Python Pizza Order Program – calculates the final bill based on pizza size and extra options. These projects helped me practice if/elif/else statements, nested conditionals, and structuring decision-based logic in Python. I’m learning that programming is really about breaking problems down step by step and writing clear logic to solve them. Learning in public and documenting my journey into software engineering. Check out the projects here: https://lnkd.in/g8iMbh-V #100DaysOfCode #Python #SoftwareEngineering #LearningInPublic #CodingJourney
100 Days of Code: Python Projects and Conditional Logic
More Relevant Posts
-
Built a simple File Reader CLI in Python today. This project takes a file path as input, opens the file, reads its contents, and prints everything directly in the terminal. What I learned while building it: • Taking user input with input() • Opening files using open() • Reading file content with read() • Using with for safe file handling • Adding error handling with try/except Small projects like this are helping me strengthen my Python fundamentals and get more comfortable with writing clean, practical code. GitHub Repository: https://lnkd.in/gud495tr #Python #PythonProjects #CLI #CodingJourney #Programming #LearningInPublic
To view or add a comment, sign in
-
Back to Basics: Mastering the Building Blocks of Python! 🐍 Today, I spent some quality time diving deep into the core pillars of Python programming. Understanding how to structure code efficiently is just as important as knowing how to solve a problem. Here’s a quick breakdown of my key takeaways: Functions: The heart of clean, reusable code. It's all about the DRY (Don't Repeat Yourself) principle. Arguments & Parameters: Learning how to pass data into functions to make them dynamic and flexible. Return Values: Understanding how a function "outputs" results to be used elsewhere in the application. Scope (Global vs. Local): A crucial concept! Mastering where variables live and die to avoid bugs and memory leaks. Small steps every day lead to big results. Excited to implement these fundamentals more effectively in my upcoming FastAPI projects! 🚀 #Python #SoftwareDevelopment #CodingLife #ContinuousLearning #BackendDeveloper #TechCommunity #CleanCode #Programming
To view or add a comment, sign in
-
-
🚀 Master Python from scratch with a futuristic style Just starting out in programming? This visual cheat sheet walks you through the essentials of Python: variables, loops, functions, error handling, and more… all with a design that looks like it’s straight out of the future! 🌌👨💻 💡 Perfect for beginners who want to learn quickly with a sleek, modern look. 📲 Follow me for more tech, design, and programming content 🔁 Share if you liked it 💬 What topic would you like me to cover in the next cheat sheet? #Python #PythonBeginners #Cheatsheet #CodingTips #LearnPython #Programming #FuturisticDesign #TechDesign #PythonCode #PythonTutorial #DevLife #CodeNewbie #FollowMe #TechContent
To view or add a comment, sign in
-
-
🍀🚀 Exploring Python Loops & Control Statements: The Core of Logical Programming While learning Python, I realized how important loops and control statements are for writing efficient and logical code. Here’s a quick summary of what I understood: 🔹 For Loop Used to iterate over a sequence like lists, tuples, or strings. Best when the number of iterations is known. 🔹 While Loop Runs as long as a condition is true. Useful when the number of iterations isn’t fixed. 🔹 If, Elif, Else Helps in decision-making by executing code based on conditions. 🔹 Break Statement Used to exit a loop immediately when a condition is met. 🔹 Continue Statement Skips the current iteration and continues with the next one. 🔹 Pass Statement Acts as a placeholder when no action is needed but syntax requires a statement. 💡 These concepts are helping me build stronger programming logic step by step. 📌 Always open to learning more and improving! #Python #LearningJourney #Programming #Coding #Loops #ControlStatements
To view or add a comment, sign in
-
-
🚀 Built a Python Quiz Game Engine: Here’s What I Learned I recently developed a fully functional Quiz Game Engine in Python designed with scalability, clean architecture, and real world usability in mind. 🔍 Key Highlights: Multiple question types (Q&A, MCQ, True/False) Time-based answering system using multi-threading JSON Schema validation for structured data integrity Automated scoring + CSV-based result tracking Modular and type-safe code design This project pushed me to think beyond “just making it work” focusing instead on: ✔ Clean architecture ✔ Input validation ✔ Real-world usability ✔ Performance under constraints (timers) 💡 One interesting challenge: implementing a thread-safe timer system without external libraries. If you're learning Python, don’t just build scripts build systems. 🔗 Check it out: https://lnkd.in/deba_WM7 #Python #SoftwareEngineering #OpenSource #Projects #LearningByDoing #Programming
To view or add a comment, sign in
-
-
📚 New article just published on SYUTHD! 🔖 Unlock Client-Side Python: Build Interactive Web Apps with Pyodide & WebAssembly 🏷️ Category: Python Programming 📖 Full article → https://lnkd.in/d2ZuEWc6 👉 Follow our page for more tech tutorials: https://lnkd.in/gsJDptPM 💬 Telegram: https://t.me/nisethtechno 👍 Facebook: https://lnkd.in/gsKv3Dyn #PythonProgramming #Tech #Tutorial #Programming #TechBlog #2026
To view or add a comment, sign in
-
Headline: Building a CLI To-Do List Manager with Python! 🐍 I’ve been working on a practical project to sharpen my Python fundamentals: a Command Line Interface (CLI) To-Do List Manager. It’s a simple yet effective way to practice: Looping & Control Flow: Using while True to keep the application active. Data Management: Utilizing Python lists to store, append, and remove tasks. User Interaction: Handling dynamic user input and providing real-time feedback. Error Handling: Implementing logic to catch invalid task selections. There’s something so satisfying about seeing a script come to life in the terminal! Next steps: adding persistent storage so the tasks save to a file. 🚀 #Python #Coding #Programming #ProjectShowcase #LearningToCode #DevCommunity
To view or add a comment, sign in
-
Day 17/100: Creating My First Custom Class in Python! Today was a "Level Up" day in my #100DaysOfCode journey. I moved from using existing classes to building my own from scratch! What I built: The Quiz Game I developed a Quiz application entirely based on Object-Oriented Programming (OOP). This wasn't just about the game; it was about structuring data professionally. Key Concepts Mastered: Custom Classes: Defined a Question class to act as a blueprint for every quiz item. The Constructor (__init__): Learning how to initialize attributes (text & answer) the moment an object is created. Brain Logic: Created a QuizBrain class to manage the game's flow—tracking the current question, checking answers, and maintaining the score. Seeing the logic separated into clean, modular classes makes me realize how scalable professional software is built. Check out my Quiz Game code here: https://lnkd.in/gF8dYvAS #Python #OOP #SoftwareDevelopment #100DaysOfCode #QuizGame #LearningToCode #VSCode
To view or add a comment, sign in
-
-
🚀 Just Built a Tic Tac Toe Game in Python! 🎮🐍 Excited to share my latest mini project — a simple yet fun Tic Tac Toe game using Python! 💡 This project helped me strengthen my understanding of: ✔️ Loops and conditional statements ✔️ Functions and modular programming ✔️ Basic game logic and problem-solving 🔧 Features: Two-player mode (X vs O) Input validation Win and draw detection Clean console-based interface Building small projects like this is a great way to improve coding skills and logical thinking. Every line of code is a step forward! 💪 📌 Next step: Planning to upgrade this into a GUI version and maybe even add AI 🤖 If you’re learning Python, I highly recommend trying this project yourself! #Python #Coding #Projects #Programming #Learning #InternPe#Tech #Developer #45DaysOfCode#InternPe
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