Skip to content

skyla643/Python-1---classes

Repository files navigation

Python 1 Course Guide

Welcome to the Python 1 Course repository! This repository contains all the assignments and projects I completed during my Python 1 class, showcasing my journey and growth in understanding Python programming.

Repository Structure

The repository is organized by weeks, with each week containing specific assignments designed to cover various aspects of Python programming.

Week 1: Introduction and Setup

  • Assignment 1: Handling Non-Numeric Input for Financial Calculations
  • Assignment 2: Error Handling for Rectangle Area Calculation

Week 2: Input, Processing, and Output

  • Assignment 3: BMI Calculation with Category Feedback
  • Assignment 4: Error Handling for 2D Plane Coordinates Distance Calculation
  • Assignment 5: Time Duration Conversion
  • Assignment 6: Currency Conversion with Error Handling

Week 3: Decision Structures and Boolean Logic

  • Assignment 7: Leap Year Determination
  • Assignment 8: Grade Calculation Based on Marks
  • Assignment 9: Vowel or Consonant Determination
  • Assignment 10: Age Classification

Week 4: Repetition Structures

  • Assignment 11: Collatz Sequence Generation
  • Assignment 12: Pattern Printing with User-Specified Character
  • Assignment 13: Palindrome Check

Week 5: Functions, Files, and Exceptions

  • Assignment 14: Power Calculation with Negative Exponents
  • Assignment 15: Recursive Palindrome Check
  • Assignment 16: Prime Number Determination

Week 6: Lists, Tuples, and Strings

  • Assignment 17: Common Elements in Lists
  • Assignment 18: Tuple Concatenation
  • Assignment 19: List Sorting Without Built-In Functions

Final Exam/Project: Inventory Management System

  • Functionality:
    • Add Item: Input name, price, quantity, and category.
    • Update Item: Modify the price, quantity, and category.
    • View Inventory: Display all items.
    • Remove Item: Remove an item by name.
    • Search by Category: Display items by category.
  • Project Structure:
    • A list is defined for storing items.
    • Functions are implemented for inventory management.
    • A main loop is created for user interaction.

How to Use This Repository

  1. Clone the Repository:

    git clone https://github.com/skyla643/Python-1---classes.git
    cd Python-1---classes
  2. Navigate to the Assignments:

    • Each assignment is organized in a folder named Assignment X, where X is the assignment number. Inside, you'll find the main Python files ready to be reviewed and run in your Python environment.
  3. Run the Examples:

    • Open any Python file in your preferred IDE or text editor (like PyCharm, VS Code, or Jupyter Notebook). Run the code to see the examples in action. Each file demonstrates a different Python concept or technique.

Requirements

  • Python 3.12 or later is required to run the scripts in this repository. Make sure Python is installed and properly configured on your system.

Contributions

I welcome contributions! Feel free to fork this repository, submit pull requests, or suggest improvements. Whether you want to fix a bug, optimize the code, or add new examples, your input is valued!

License

This repository does not have a specific license since it consists of assignments for my Python course. However, it is shared publicly to demonstrate my work and skills to potential employers. Please respect this purpose and my academic work.


With appreciation,
Skyla Miranda Reyes

--- SMRCCC3301

About

test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published