Making a Tip Calculator — Day 2 of 100 Days of Code: The Complete Python Pro Bootcamp

Mirza Mohammed Baig
2 min readMay 23, 2024

--

Hey everyone ! 👋🏽

In Day 2 of the 100 Days of Code Challenge that I have undertaken, I learned about the following concepts in Python:

  • Data Types: String, Integer, Float, Boolean
  • Mathematical Operations
  • Number Manipulation & F-strings

I also completed these three lessons on auditorium in preparation for the Day 2 Project:

auditorium assignments

On Day 2, I completed a Tip Calculator Project and wrote my code on replit.

Here is the link to my Repl:💻 https://replit.com/@mbaig9/Day2of100DaysofPython#main.py

Heres the link to my Github code: 💻 https://github.com/M1RZAB4IG/100DaysofPythonCodeChallenge/blob/main/Day2-TipCalculator.py

What I learned in Day 2 of this Python Coding Challenge: 🐍 💻

  • How to store and use the following Data Types: String, Integer, Float, Boolean ✅
  • How to use Mathematical Operations in Python Code ✅
  • How to use Number Manipulation & F-strings ✅
  • How to check type & do type casting ✅
  • How to make a tip calculator ✅ 📱
  • The equation for calculating BMI & how to make a BMI calculator ✅
  • Calculating how many weeks someone has left to live (assuming they’d die at 90) 👀 ✅

--

--

Mirza Mohammed Baig
Mirza Mohammed Baig

Written by Mirza Mohammed Baig

A Muslim Man Pursuing Islamic Self-Improvement Interests: Islam | Self Improvement | SWE | Entrepreneurship | Digital Marketing

No responses yet