DEV Community

sheema
sheema

Posted on

My First 48 Hours with Python: From BMI to Treasure Islands Day 2 and 3 completed

  1. πŸ΄β€β˜ οΈ Treasure Island Adventure The Goal: A text-based "choose your own adventure" game. What I Learned: Complex nested if-statements and logical flow. The Highlight: I focused heavily on the User Experience by integrating custom ASCII art with a styled terminal background to make the world feel immersive.

Output:

  1. πŸ• Automated Pizza Order System The Goal: A program that calculates a bill based on size, pepperoni, and extra cheese. What I Learned: Mastering multiple if- elif conditions and handling user input formatting. The Highlight: Ensuring the logic correctly adds up multiple optional "add-ons" without breaking the final calculation.

  1. βš–οΈ BMI 2.0 (Body Mass Index Calculator) The Goal: A health tool that interprets BMI results into categories (Underweight, Normal, Obese, etc.). What I Learned: Mathematical operations in Python and using f-strings to provide clear, personalized feedback to the user. The Highlight: Moving beyond simple math to create a tool that provides meaningful data interpretation.

  1. 🎒 Rollercoaster Ticketing App The Goal: A gate system that checks height, age for pricing, and offers photo options. What I Learned: Combining comparison operators with nested logic to handle tiered pricing. The Highlight: Managing a flow where one decision (age) affects the price, while another (photos) adds a flat fee regardless of the first choice.

"This was my 'Day 2 and 3' progress. I’m focusing on building a strong foundation in logic before moving on to bigger things. It’s been fun figuring out how to make even a simple terminal game feel a bit more alive with some custom styling. Looking forward to what I’ll be building by Day 30."

Python #PythonProgramming #100DaysOfCode #CodingNewbie #LearnToCode #PythonProjects #Programming #Coding #NewDeveloper #TechCommunity

Top comments (0)