I stop watching Python tutorial and built this game This time, I work on a simple excersize — Snake Water Gun . This project is based on a real-world problem: how user input is handled, processed, and used to make decisions in a system. Just like real applications take inputs and respond with outputs, this game follows the same logic in a simple way. 🛠 What I Used • Python • Random Module • Conditional Statements • Loops 🎯 What I Learned • How to handle user input effectively • Writing decision-based logic (if-else) • Building interactive programs • Thinking like a problem solver, not just a learner Small projects. Real understanding. 🚀 Learning in public, step by step. 💬 What should I build next? Github repo link:-https://lnkd.in/dZkfHZeG #datascientist #aiml #Python #CodingJourney #LearnInPublic #BeginnerProjects
Building Snake Water Gun Game with Python
More Relevant Posts
-
🚀 Today I practiced Python by building a mini project Created a Number Guessing Game 🎯 What I worked on: • Variables & data types • Loops (while) • Conditional statements (if/elif/else) • Attempt tracking logic What I learned: Building something small helped me understand how logic and flow actually work, instead of just watching tutorials. Challenges I faced: • Managing loop conditions • Tracking attempts correctly Sharing a snippet of my code below 👇 Next: → Building a CLI To-Do List → Improving input validation Staying consistent and learning step by step. #Python #LearningInPublic #CodingJourney #BeginnerDeveloper
To view or add a comment, sign in
-
-
Managing Python environments shouldn’t be a nightmare. But for many — it still is. Here’s how to keep things clean, fast, and production-ready in 2026: 🛠️ Use uv or poetry to manage environments & dependencies. Faster, safer, and simpler than old-school pip+venv. ⚡ Speed matters – use polars, numpy, and numba to vectorize heavy loops. Even small tweaks can give 10× performance wins. 🧼 Lint + Format + Type-check = non-negotiable Ruff for linting Black for formatting Pyright or Pyrefly for fast type-checks 💡 Bonus tip: Use Typer to build CLIs in minutes. So clean, it feels like magic. 💬 What’s one Python setup rule you wish you knew earlier? #Python #CodeQuality #Productivity #DevTools #DataEngineering
To view or add a comment, sign in
-
-
Today I focused on understanding one of the most important concepts in Python — Loops 🐍 I learned how loops help in repeating tasks efficiently and make code more powerful. 🔹 Topics Covered: ✔️ for loop and while loop ✔️ Using range() (start, stop, step) ✔️ Iterating over strings and lists ✔️ Nested loops ✔️ Control statements: break, continue, pass 📚 Practice I Did: Factorial without built-in functions Reverse a number using while loop Pattern printing Logical problems using loops 💡 My Learning: Loops are not just syntax — they help in building logic and problem-solving skills, which are essential in programming. Small steps every day → Strong foundation 🚀 👉 Which one do you prefer — for loop or while loop? Let’s connect if you're also learning Python 🤝 #Python #PythonProgramming #CodingPractice #LearnToCode #DeveloperJourney #100DaysOfCode #ComputerScience #ProgrammingBasics #LogicBuilding
To view or add a comment, sign in
-
Day 5 of My 100 Days of Code Challenge Today I explored two important control flow statements in Python: break and continue — simple concepts, but incredibly powerful when writing efficient loops. Break Statement I learned how to stop a loop immediately when a condition is met. Example: Searching for a number in a list and exiting as soon as it's found. Continue Statement This helps skip the current iteration and move to the next one. Example: Filtering eligible voters and skipping those under 18. Key Takeaways: break saves time by stopping unnecessary iterations continue helps in clean and readable filtering logic Writing logic step-by-step makes debugging much easier Small Progress > No Progress Each day I'm getting more comfortable with writing logic and understanding how programs actually think. Next Goal: Dive deeper into loops and start solving more real-world problems. #100DaysOfCode #Python #CodingJourney #MERN #DeveloperLife #LearnToCode #FutureAIEngineer #SkillShikshya
To view or add a comment, sign in
-
-
🚀 Day 16 of #100DaysOfCoding Today I worked on pattern problems using Python, focusing on nested loops and condition logic. 🔹 Built a hollow square pattern using while loops 🔹 Strengthened understanding of loop control (i, j iterations) 🔹 Learned how to apply conditions for borders vs inner spaces 🔹 Practiced dry run techniques to debug and visualize code execution 💡 Key Learning: Breaking a problem into rows and columns makes pattern questions much easier to solve. The real trick is identifying where to print values and where to skip. Consistency is slowly turning confusion into clarity 💪 #Python #Coding #DSA #Programming #LearningJourney #Consistency n = int(input()) i = 1 while(i <= n): j = 1 while(j <= n): if(i == 1 or i == n): print("*", end="") elif(j == 1 or j == n): print("*", end="") else: print(" ", end="") j += 1 print("") i += 1
To view or add a comment, sign in
-
-
Can we actually enjoy studying? With the right approach, absolutely! 💡 I’ve been using a mix of my own notes and Generative AI to create visual summaries of Python basics. I found that using these visual "maps" makes it so much easier to remember terms properly for a long period of time. Whether you are a beginner or just need a quick revision guide, this 1-page summary is a game-changer for staying sharp. Check out my Python Basic "Cheat Sheet" below! 👇 #Python #GenAI #Programming #RevisionTips #CareerGrowth #DataScience #DataAnalytics
To view or add a comment, sign in
-
-
🐍 One thing I learned from working with real systems: Most issues are not in writing code... they are in understanding failures. When something breaks, I now focus on: → Logs analysis → Reproducing the issue → Identifying root cause Instead of jumping to fix, I try to understand why it failed. This approach has improved my problem-solving a lot. #Python #Debugging #ProductionSupport #Learning
To view or add a comment, sign in
-
🚀 Day 18–24 of My Python Learning Journey Over the past few days, I’ve been diving deeper into Python and strengthening my core concepts 💻 Here’s what I explored 👇 🔹 Functions & Arguments 🔹 Types of Variables (Local, Global, Nonlocal) 🔹 Lambda Functions 🔹 Map & Reduce 🔹 Floor Function 🔹 Nested Functions 🔹 Function Aliasing 🔹 Generating Random Numbers 🔹 Method Overloading in Python ✨ This phase helped me understand how Python handles functions in a powerful and flexible way. 📌 One key takeaway: Functions are not just reusable blocks — they can be treated like objects, passed around, and optimized using tools like lambda, map & reduce. I’m building consistency and focusing on strong fundamentals every day 💪 #Python #LearningJourney #100DaysOfCode #Programming #Coding #PythonBasics #DeveloperJourney
To view or add a comment, sign in
-
-
Day 4 done Today was less about “big problems” and more about practical coding: File line counting from a text file Word frequency counting with text cleaning Just Python basics that actually matter in real projects: file I/O, regex splitting, whitespace cleanup, punctuation handling, and case normalization. What I liked most today: small logic details made a big difference. A tiny cleanup step can completely change output quality. Code for Day 4: https://lnkd.in/gh-KJzG5 #Python #SoftwareEngineering #DeveloperJourney #Day4 #ProblemSolving
To view or add a comment, sign in
-
-
While working on a project, I came across something simple but really important .𝐞𝐧𝐯 𝐟𝐢𝐥𝐞𝐬. At first, I was hardcoding things like 𝐀𝐏𝐈 𝐤𝐞𝐲𝐬 and 𝐔𝐑𝐋𝐬 directly into my code. It worked, but it didn’t feel right. That’s when I learned how .𝐞𝐧𝐯 files help keep sensitive data separate from the actual codebase. I put together a quick 4-slide breakdown covering: → What a .𝐞𝐧𝐯 file is → Why it matters → How to use it in Python #Programming #Python #WebDev #SoftwareEngineering #LearnInPublic #DevTips #100DaysOfCode #COMSATS #CUI
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