Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
Post image 6
Post image 7
1 / 7
0

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

DEV Community·sheema·25 days ago
#wNLgB3Q6
Reading 0:00
15s threshold

🏴‍☠️ 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: 🍕 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. ⚖️ 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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More