Most beginners watch Python tutorials. Today I built programs instead. Day 2 of learning Python for Data Structures & Algorithms. Instead of just consuming content, I focused on actually writing code and understanding how programs think. Here’s what I practiced today: • Taking user input in Python • Using arithmetic operators (+, −, ×, ÷) • Conditional logic with if / elif / else • Formatting outputs using f-strings and round() • Building logic-based programs from scratch Then I applied these concepts by building 4 small projects: Calculator A command-line calculator where users select an operator (+ − * /) and enter two numbers. The program performs the operation and prints the result. Mad Libs Game An interactive word game where users enter random words to generate a funny story dynamically. Temperature Converter A program that converts temperature between Celsius and Fahrenheit based on the user’s input. Weight Converter A tool that converts weight between kilograms and pounds. What I learned today: Writing small programs forces you to think like a programmer. Input → Logic → Output. That simple flow is the foundation of every software system. Right now my focus is building strong fundamentals before diving deeper into Data Structures and Algorithms. Small programs today Stronger problem solving tomorrow. Day 2 complete. #Python #Programming #CodingJourney #100DaysOfCode #SoftwareEngineering #DSA
More Relevant Posts
-
Python Mini Project : Bill Splitter As part of my Python learning journey, I built a simple Bill Splitter project to strengthen my understanding of numbers and mathematical operations. Concepts Applied: Numeric Data Types – Worked with both int and float values Mathematical Operations – Performed addition, multiplication, and division Real-world Logic – Calculated total bill, added tip, and split among friends Key Takeaway: This project helped me understand how Python handles numeric operations using both integers and floating-point numbers, which is essential for real-world applications like financial calculations. Why this matters: Useful in budgeting and financial tools Core logic used in many real-world applications Strengthens problem-solving with numbers Step by step, I’m building a strong foundation in Python by creating practical mini projects. Next step: Enhancing this with user input and better formatting. #Python #MiniProject #LearningPython #DataAnalytics #CodingJourney #100DaysOfCode #TechSkills #Freecodecamp
To view or add a comment, sign in
-
-
🐍 50 Python Pattern Programs — Master the Logic Behind Every Shape! Whether you're a beginner or brushing up your fundamentals, pattern programs are one of the best ways to sharpen your loop logic and problem-solving skills in Python. Here's a quick peek at what's inside: ✅ Right Angle & Inverted Triangles ✅ Pyramid & Inverted Pyramid Patterns ✅ Diamond & Hollow Diamond Shapes ✅ Floyd's Triangle & Pascal's Triangle ✅ Butterfly, Hourglass & Zigzag Patterns ✅ Checkerboard, Cross & Hollow Circle ✅ Number, Star & Parallelogram Patterns ✅ ...and much more — all the way up to 50 unique patterns! 💡 Each pattern comes with clean, beginner-friendly Python code and a visual output so you can see exactly what you're building. These aren't just exercises — they train your brain to think in rows, columns, conditions, and nested loops, skills that directly translate to real-world coding challenges. 🔖 Save this post so you never lose access to this resource! 🚀 Drop a ⭐ in the comments if you found this helpful — it encourages me to keep sharing more! 👉 Follow Abhay Tripathi for more tech updates, coding materials, and daily programming insights! #Python #Programming #CodingChallenge #LearnToCode #PythonPatterns #100DaysOfCode #CodeNewbie #SoftwareDevelopment #TechLearning #PythonProgramming
To view or add a comment, sign in
-
🐍 50 Python Pattern Programs — Master the Logic Behind Every Shape! Whether you're a beginner or brushing up your fundamentals, pattern programs are one of the best ways to sharpen your loop logic and problem-solving skills in Python. Here's a quick peek at what's inside: ✅ Right Angle & Inverted Triangles ✅ Pyramid & Inverted Pyramid Patterns ✅ Diamond & Hollow Diamond Shapes ✅ Floyd's Triangle & Pascal's Triangle ✅ Butterfly, Hourglass & Zigzag Patterns ✅ Checkerboard, Cross & Hollow Circle ✅ Number, Star & Parallelogram Patterns ✅ ...and much more — all the way up to 50 unique patterns! 💡 Each pattern comes with clean, beginner-friendly Python code and a visual output so you can see exactly what you're building. These aren't just exercises — they train your brain to think in rows, columns, conditions, and nested loops, skills that directly translate to real-world coding challenges. 🔖 Save this post so you never lose access to this resource! 🚀 Drop a ⭐ in the comments if you found this helpful — it encourages me to keep sharing more! 👉 Follow Abhay Tripathi for more tech updates, coding materials, and daily programming insights! #Python #Programming #CodingChallenge #LearnToCode #PythonPatterns #100DaysOfCode #CodeNewbie #SoftwareDevelopment #TechLearning #PythonProgramming
To view or add a comment, sign in
-
🚀 Day 7 of My Python Learning Journey Today, I explored one of the most powerful and flexible data structures in Python — Lists 🐍 Think of a list like a smart container 📦 that can hold anything — numbers, strings, even mixed data — all in one place! 🔍 What I learned: ✨ Lists are ordered, mutable, and allow duplicates ✨ Represented using square brackets [ ] ✨ Supports indexing for easy access ✨ Can store heterogeneous elements 💡 Ways to take input into a list: Using loops (element by element) Using map() for single-line input (clean and efficient!) ⚙️ Explored Inbuilt Methods: 🔹 append() – Add elements at the end 🔹 clear() – Remove all elements 🔹 copy() – Create a new list (avoiding aliasing!) 🔹 count() – Count occurrences of an element 🔹 extend() – Merge lists 🔹 index() – Find position of an element 🔹 insert() – Add element at specific position 🔹 pop() – Remove elements (and return them!) 🧠 One small realization today: Lists aren’t just collections… they’re like mini toolkits that make data handling smooth and dynamic. 📈 Slowly building consistency, one concept at a time! #Python #CodingJourney #LearningInPublic #100DaysOfCode #PythonBasics #Programming #StudentLife #TechSkills
To view or add a comment, sign in
-
🚀 Day 7 of My Python Learning Journey Today was all about Conditional Statements in Python — a fundamental concept that brings decision-making into programs. Here’s what I explored today 👇 🔹 if statement → Used to check conditions and execute code only when the condition is true 🔹 if-else statement → Introduced fallback logic when a condition is false 🔹 if-elif-else ladder → Helped me handle multiple conditions efficiently 💻 Hands-on Practice I Did: ✔️ Age eligibility checker ✔️ Attendance-based exam eligibility ✔️ Budget vs price comparison ✔️ Shopping cart free delivery logic ✔️ Grade classification system ✔️ Simple Calculator (2 versions 🔥) ✔️ Even/Odd number checker ✔️ Positive/Negative/Zero identifier All tasks are implemented with user inputs and real-world logic to strengthen understanding. You can check out my code here 👉 https://lnkd.in/gWYTz6nf 💡 Key Learning: Conditional statements are the backbone of logic building. They are used everywhere — from login systems to real-world applications like pricing, validation, and automation. 🎯 Next Goal: Keep building more real-world mini projects using Python and strengthen my problem-solving skills as I move toward full stack development. #Day7 #Python #CodingJourney #100DaysOfCode #LearningInPublic #FullStackDevelopment Codegnan Saketh Kallepu
To view or add a comment, sign in
-
Most people don’t forget Python They forget it because they stop using it. That was my problem. I came back to coding and realized something frustrating: I understood the concepts… but I couldn’t remember the syntax clearly. So instead of just relearning randomly, I did something different. I built a complete Python A–Z repository — not just to learn, but to never forget again. What makes this different? This is NOT just notes. This is a structured, practical guide designed to: 1. Help you quickly recall Python syntax after a break 2. Give you clear explanations with examples 3. Take you from basics to advanced step by step 4. Be your go-to reference anytime you feel lost What’s inside? 1. Python Fundamentals 2. Control Flow 3. Loops 4. Data Structures 5. Functions 6. Object-Oriented Programming (OOP) 7. File Handling 8. Error Handling 9. Modules & Packages 10. Advanced Python (Decorators, Generators, etc) Why I’m sharing this: Because I know many people struggle with the same thing: You learn… you stop… you forget… you start again. This is built to break that cycle. GitHub Repository: https://lnkd.in/dUSyqH2h What’s next? 1. More projects. 2. More practical content. 3. More real-world applications. I’ll keep sharing everything I build along the way. If you're learning Python or working on improving your skills, follow me I’ll be sharing practical content that actually helps. And tell me: What’s the hardest thing for you in Python right now? #Python #Programming #AI #MachineLearning #DataScience #SelfLearning
To view or add a comment, sign in
-
🐍 Python Cheat Sheet – Quick Revision Forget long notes. Revise the basics fast 👇 ✔️ print(), input(), len() ✔️ Data Types → int, str, list, dict ✔️ Loops & Conditions → for, while, if-else ✔️ Functions → def, return, lambda ✔️ File & Exception Handling 💡 Small daily practice = big improvement 💬 Are you a beginner or already coding daily? 👇 #Python #Coding #LearnToCode #Developers #Programming
To view or add a comment, sign in
-
-
🐍 Python Cheat Sheet – Quick Revision Forget long notes. Revise the basics fast 👇 ✔️ print(), input(), len() ✔️ Data Types → int, str, list, dict ✔️ Loops & Conditions → for, while, if-else ✔️ Functions → def, return, lambda ✔️ File & Exception Handling 💡 Small daily practice = big improvement 💬 Are you a beginner or already coding daily? 👇 #Python #Coding #LearnToCode #Developers #Programming
To view or add a comment, sign in
-
-
🚀 Automated My Downloads Folder Using Python Today, I built a simple yet useful File Organizer script using Python that automatically sorts files into folders. We often download many files, and our Downloads folder becomes messy. So I created a script to organize it automatically 👇 ✨ What This Script Does • Scans all files in the Downloads folder • Moves .jpg files into an Images folder • Moves .pdf files into a PDFs folder • Helps keep files clean and organized ⚙️ Technologies Used • Python • os module (for file handling) • shutil module (for moving files) 🧠 What I Learned • Working with file systems in Python • Automating real-world tasks • Writing efficient and reusable scripts • Importance of automation in daily life 💡 Key Insight Even small automation scripts can save time and improve productivity. If you have suggestions to improve this script (like handling more file types), I’d love to hear them! 😊 #Python #Automation #Programming #LearningInPublic #DeveloperJourney #Productivity #10000Coders #BuildInPublic
To view or add a comment, sign in
-
Python Basics Cheat Sheet – From Me print("Hello") -> Display output len(data) -> Get data length type(x) -> Check data type int(), str(), float() -> Type conversion for i in range(5): -> Loop iteration if x > 10: -> Conditional statement def function(): -> Define a function list.append(x) -> Add item to list list.remove(x) -> Remove item from list dict["key"] -> Access dictionary value import math -> Import library Currently learning Python fundamentals and creating simple cheat sheets to stay consistent. Still learning, but enjoying the process. #Python #Programming #LearningJourney #DataAnalytics #CareerGrowth
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
Keep growing Hamza👍