Mastering Python Data Types and Logic

Day 2/100: Mastering Data Types and Logic Today was all about how Python handles information. I dived deep into the mechanics of data and mathematical operations. What I tackled today: Data Types: Understanding Integers, Floats, and Booleans. Subscripting: Pulling specific characters out of a string (like a pro!). The len() Function: Measuring the length of data. Type Conversion: Converting data (e.g., String to Integer) to make calculations possible. Math in Python: Using mathematical operators, the round() function, and assignment operators. Daily Project: Tip/Bill Calculator I created a program that calculates how much each person should pay when splitting a bill, including the tip. It’s a real-world tool built with just a few lines of code! Step by step, I'm getting more comfortable with the logic. 🚀 #Python #100DaysOfCode #DataTypes #CodingCommunity #SoftwareDevelopment

  • No alternative text description for this image

Wish you good luck in this journey, you should also provide github repo link :)

To view or add a comment, sign in

Explore content categories