Learning Data Science | Day 4 🎯 Today’s mini-project: Interactive Number Guessing Game with Streamlit 🖥️ 💡 What I built: A game where the computer picks a secret number between 1–10 You guess the number and get instant feedback: too high, too low, or correct Tracks your attempts and allows you to restart anytime 🧠 Skills practiced: Python basics: loops, conditions, variables Streamlit for interactive UI State management with st.session_state Simple, fun, and a great way to make coding interactive while strengthening Python fundamentals! #Python #Streamlit #MiniProject #100DaysOfCode #LearningDataScience #Programming #Day4 #PortfolioProject
More Relevant Posts
-
🚀 Day 4 of Learning Python Today was about moving from basics to actual program flow and logic building 🧠 📌 What I focused on today: 🔹 Conditional statements (if, elif, else) 🔹 Loops (for, while) and iteration patterns 🔹 Using range() effectively 🔹 Writing small programs to combine logic + data 🔹 Understanding how control flow drives real applications Python is starting to feel less like syntax and more like problem-solving 💡 Consistency over speed — one solid day at a time 💪 #Day4 #PythonJourney #ProgrammingLogic #LearningInPublic #Consistency 🚀
To view or add a comment, sign in
-
🚀 Master Logic Building in Python – 6 Phases, Multiple Levels I’m excited to start a new series where we’ll break down the art of logic building in Python into 6 structured phases are follows: 👉Phase 1 – Conditional Thinking (If–Else, Boolean Logic) 👉Phase 2 – Looping & Patterns (Iteration & Flow) 👉Phase 3 – Recursion (Thinking in self- reference) 👉Phase 4 – Basic Arrays(Iterative Logical Thinking) 👉Phase 5 – Strings (Basic Logic Building ) 👉Phase 6 – Mixed Logical Challenges (Applied Reasoning) Whether you’re a beginner or looking to refine your problem-solving mindset, this series will guide you through practical approaches to think, design, and code smarter. ⭕Starting with Phase 1: Level 1🔥 🐱Github : https://lnkd.in/gkKSJKDb #Python #LogicBuilding #CodingMindset #LearningSeries #Learning #Everyday #Coding #Programming
To view or add a comment, sign in
-
🚀 Day 47 of #100DaysOfCode — Extracting Odd Numbers from an Array Hey everyone! 👋 Today’s challenge was about filtering elements in an array and returning a new array that contains only odd numbers. 👨💻 What I practiced today: ✅ Iterating through arrays efficiently ✅ Using conditional logic (% operator) ✅ Building a new array based on conditions ✅ Writing clean and readable Python functions 📌 Today's Task: ✔ Create a function getOdds(arr) ✔ Extract only odd numbers from the array ✔ Return a new array with the result 🧠 Example: Input: [1, 2, 3, 4, 5] Output: [1, 3, 5] Input: [2, 4, 6] Output: [] 💡 Key Takeaway: Filtering data is a core programming skill. Simple conditions combined with loops can help extract exactly what you need from a dataset. #100DaysOfCode #Python #Arrays #Programming #ProblemSolving #LearningToCode #CodingJourney #Day47
To view or add a comment, sign in
-
-
Today was all about going deeper into Python fundamentals 🐍💡 📌 What I covered today: 🔹 Scope (LEGB Rule) Understood how Python searches for variables and why scope matters for clean and predictable code. 🔹 Closures Learned how inner functions can remember variables from their enclosing scope even after the outer function has finished execution — powerful concept for state management and decorators. 🔹 OOPS – Class & Object Explored why classes are used over only functions: - Classes act as blueprints - Objects are real instances - Better structure, data protection, scalability, and real-world modeling - Also clarified how __init__ works and how each object maintains its own state. 👉 Revisiting fundamentals really changes how you think about writing better, cleaner code. Learning step by step, one concept at a time 🚀 #Python #LearningInPublic #PythonBasics #OOPS #Closures #Scope #Programming #DeveloperJourney
To view or add a comment, sign in
-
🚀 Day 6 of Learning Python : Today was all about mastering Python functions and writing cleaner, reusable code ⚙️ 📌 What I learned today: 🔹 Defining functions and using return vs print 🔹 Parameters vs arguments 🔹 Function polymorphism (same function, different behavior) 🔹 Multiple return values (tuples) 🔹 Default parameters for safer functions 🔹 Lambda functions for quick logic 🔹 *args and **kwargs for flexible inputs 🔹 Generators & yield for memory efficiency 🔹 Recursion and base cases From writing lines of code to designing logic systems — real growth today 💡 One step deeper into Python 💪 #Day6 #PythonLearning #Functions #CleanCode #LearningInPublic 🚀
To view or add a comment, sign in
-
🎯 𝐋𝐞𝐚𝐫𝐧𝐢𝐧𝐠 𝐏𝐲𝐭𝐡𝐨𝐧 𝐓𝐡𝐫𝐨𝐮𝐠𝐡 𝐂𝐨𝐦𝐩𝐚𝐫𝐢𝐬𝐨𝐧: 𝐍𝐮𝐦𝐛𝐞𝐫 𝐆𝐮𝐞𝐬𝐬𝐢𝐧𝐠 𝐆𝐚𝐦𝐞 As part of my Python practice, I built a Number Guessing Game using a procedural approach — handling game flow, difficulty levels, and attempt tracking step by step. After completing my version, I reviewed a cleaner, more modular reference solution for the same problem and compared both implementations. That comparison helped me understand how structure impacts clarity more than I initially realized. 𝗞𝗲𝘆 𝘁𝗮𝗸𝗲𝗮𝘄𝗮𝘆𝘀 𝗳𝗿𝗼𝗺 𝘁𝗵𝗶𝘀 𝗲𝘅𝗲𝗿𝗰𝗶𝘀𝗲: • Breaking logic into functions improves readability and reuse • Clear separation of responsibilities simplifies debugging • Managing state (attempts, difficulty, game flow) becomes easier with better design • Writing working code is only the starting point — refining it is where learning deepens This project reinforced an important mindset for me: 𝕭𝖚𝖎𝖑𝖉𝖎𝖓𝖌 𝖆 𝖘𝖔𝖑𝖚𝖙𝖎𝖔𝖓 𝖒𝖆𝖙𝖙𝖊𝖗𝖘. 𝖀𝖓𝖉𝖊𝖗𝖘𝖙𝖆𝖓𝖉𝖎𝖓𝖌 𝖍𝖔𝖜 𝖙𝖔 𝖇𝖚𝖎𝖑𝖉 𝖎𝖙 𝖇𝖊𝖙𝖙𝖊𝖗 𝖒𝖆𝖙𝖙𝖊𝖗𝖘 𝖒𝖔𝖗𝖊. Sharing this as another step in my Python learning journey 🚀 #Python #LearningByDoing #ProblemSolving #CleanCode #ComputerScience #CSE #Programming
To view or add a comment, sign in
-
Hello Connections 👋 Today I spent time strengthening my Python fundamentals and explored some essential string-processing and basic logic concepts that are widely used in real-world applications. 🐍✨ Here’s what I learned today: 1️⃣ Remove duplicate characters from a string 2️⃣ Character frequency (counting how many times each character repeats) 3️⃣ Total character count 4️⃣ Word count 5️⃣ Sentence space count (number of spaces) 6️⃣ Combined program for character, word, and space counting 7️⃣ Vowels and consonants count Consistent practice of these basics helps build a strong foundation for problem-solving and logic building. 💡🚀 Looking forward to learning more and growing every day! #Python #LearningJourney #ProgrammingBasics #CodingPractice #SoftwareDevelopment #ContinuousLearning
To view or add a comment, sign in
-
🧮 Building a Command-Line Calculator Using Python As part of my Python learning journey, I built a command-line calculator that performs basic arithmetic operations — addition, subtraction, multiplication, and division. What made this project interesting was designing it to continue calculations dynamically, allowing users to reuse the previous result without restarting the program. Key learnings from this project: • Using functions to keep code modular and reusable • Mapping operations using dictionaries for cleaner logic • Handling user input validation • Managing program flow using loops and conditions • Improving user experience in a CLI-based program This project reinforced an important lesson for me: Even simple applications can teach strong fundamentals when built thoughtfully. Sharing this as another small step in my learning process 🚀 #Python #Programming #LearningByDoing #ComputerScience #CSE #ProblemSolving #CLI
To view or add a comment, sign in
-
🚀 Starting Small with Python – Day 3/5 🐍 Today was all about working with PDF files using Python and understanding how real-world automation actually works. 🔹 What I worked on today:- ->Learned how to merge multiple PDF files using Python ->Explored the PyPDF2 library and understood its core classes: 1️⃣PdfReader 2️⃣PdfMerger 3️⃣Practiced handling files using binary mode (rb) 4️⃣Improved code safety using context managers (with open) 5️⃣Generated a final merged PDF output programmatically 🔹 Tech & Tools Used: ▪️Python ▪️PyPDF2 ▪️PyCharm IDE 6️⃣File handling & loops 📌 This small exercise helped me understand how Python can automate everyday tasks like document management — a simple but powerful use case. Taking it one small step at a time and enjoying the learning process 💡 On to Day 4/5 🚀 #Python #LearningPython #100DaysOfCode #Automation #PyPDF2 #PyCharm #StartSmall #CodingJourney #Day3
To view or add a comment, sign in
-
-
This document includes: ✅ Python basics & features ✅ Data types, variables, type casting ✅ Strings, lists, tuples, sets & dictionaries ✅ Conditional statements & loops ✅ Functions, lambda, file handling ✅ OOP concepts (Class, Object, Inheritance, Polymorphism, etc.) ✅ Comprehensions, modules & built-in functions 💡 Perfect for beginners, students, and interview preparation. Consistent learning and revision are the keys to mastering Python 🐍✨ #Python #PythonProgramming #Coding #Programming #Learning #InterviewPreparation #ComputerScience #Developer #CSStudents #TechJourney 🚀💻10000 CodersAjay Miryala
To view or add a comment, sign in
More from this author
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