Skip to content

reza-ygb/freecodecamp-scientific-computing-python

Repository files navigation

FreeCodeCamp Scientific Computing with Python

This repository contains my solutions for the Scientific Computing with Python certification from FreeCodeCamp. This certification focuses on Python fundamentals and scientific computing concepts.

📋 Projects Overview

This certification includes 5 comprehensive projects that demonstrate various Python programming concepts:

✅ Project 1: Arithmetic Formatter

Status: Completed

A function that arranges arithmetic problems vertically and side by side, making them easier to read and solve.

Features:

  • Formats addition and subtraction problems vertically
  • Handles input validation (digit-only numbers, operator validation, etc.)
  • Optional display of answers
  • Clean, aligned output format

Example Output:

   34      285      254      542
+ 658    -  49    +  18    - 412
-----    -----    -----    -----
  692      236      272      130

✅ Project 2: Time Calculator

Status: Completed

A function that adds time durations and calculates start and end times for different days of the week.

Features:

  • Add duration to start time with AM/PM format
  • Calculate day transitions (next day, n days later)
  • Optional day of week calculation
  • Handle multiple day spans

Example Usage:

add_time("3:00 PM", "3:10")        # Returns: 6:10 PM
add_time("11:43 PM", "24:20")      # Returns: 12:03 AM (2 days later)
add_time("3:00 PM", "3:10", "Monday")  # Returns: 6:10 PM, Monday

🔄 Upcoming Projects

  1. Budget App - Coming Soon
  2. Polygon Area Calculator - Coming Soon
  3. Probability Calculator - Coming Soon

🚀 Getting Started

Prerequisites

  • Python 3.6 or higher

Running the Projects

  1. Clone this repository:
git clone https://github.com/yourusername/freecodecamp-scientific-computing-python.git
cd freecodecamp-scientific-computing-python
  1. Navigate to a specific project:
cd 01-arithmetic-formatter
  1. Run the project:
python main.py

📁 Repository Structure

freecodecamp-scientific-computing-python/
├── 01-arithmetic-formatter/
│   ├── main.py
│   ├── README.md
│   └── tests/ (coming soon)
├── 02-time-calculator/
│   ├── main.py
│   ├── README.md
│   └── tests/ (coming soon)
├── 03-budget-app/ (coming soon)
├── 04-polygon-area-calculator/ (coming soon)
├── 05-probability-calculator/ (coming soon)
└── README.md

🎯 Learning Objectives

Through these projects, I'm developing skills in:

  • Python syntax and data structures
  • Object-oriented programming
  • Error handling and input validation
  • Mathematical computations
  • Code organization and documentation
  • Testing and debugging

📚 Certification Progress

  • Python Basics
  • Data Structures
  • Algorithms
  • Object Oriented Programming
  • Project 1: Arithmetic Formatter ✅
  • Project 2: Time Calculator ✅
  • Project 3: Budget App
  • Project 4: Polygon Area Calculator
  • Project 5: Probability Calculator

🔗 Resources

📄 License

This project is open source and available under the MIT License.

🤝 Contributing

While this is primarily a learning repository, suggestions and improvements are welcome! Feel free to open an issue or submit a pull request.


Note: This repository represents my learning journey through the FreeCodeCamp Scientific Computing with Python certification. Each project builds upon previous concepts and introduces new programming challenges.

About

My solutions for FreeCodeCamp Scientific Computing with Python certification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages