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

Keep growing Hamza👍

Like
Reply

To view or add a comment, sign in

Explore content categories