Day 2 of my #100DaysOfCodewithAngelaYu journey with Python 💻 As a beginner, I spent the day exploring the fundamentals of programming and building my first small project — a Tip Calculator. Some of the key concepts I learned include: - Data types – understanding integers, floats, and strings. - Type errors, type checking, and type conversion – making sure inputs are valid and compatible for calculations. - Mathematical operations in Python – performing calculations and handling percentages. - Number manipulation and f-strings – formatting results neatly for the user. 𝐌𝐢𝐧𝐢 𝐏𝐫𝐨𝐣𝐞𝐜𝐭: Tip Calculator 💰 For my Day 2 project, I created a Tip Calculator in Python. This small program allows a user to: - Enter the total bill amount - Specify a tip percentage - Indicate how many people will split the bill The program then: - Calculates the tip based on the percentage - Adds it to the total bill - Divides the total by the number of people - Outputs the final amount per person, rounded to 2 decimal places using f-strings This project helped me see how these building blocks come together to create a working, interactive program. I’m excited to continue my journey and explore more Python projects, including interactive apps with Streamlit, in the coming days! 🚀 #Python #100DaysOfCode #LearningByDoing #CodingJourney #Streamlit

To view or add a comment, sign in

Explore content categories