A management system for renting fishing and camping equipment. The application allows customer registration, order management, and earnings report generation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from sklearn.datasets import load_iris | |
| from sklearn.cluster import KMeans | |
| #1. incarcarea setului de date Iris | |
| iris = load_iris() | |
| #2. Afisarea descrierii bazei de date | |
| print("="*50) | |
| print(iris.DESCR) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pandas as pd | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import seaborn as sns | |
| from sklearn.linear_model import LinearRegression | |
| from sklearn.cluster import KMeans | |
| from sklearn.preprocessing import PolynomialFeatures | |
| from sklearn.impute import SimpleImputer | |
| from sklearn.pipeline import make_pipeline | |
| from sklearn.metrics import r2_score |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Task 1 - Main Menu for Tackle Hire System | |
| # Date: September 30, 2025 | |
| def display_menu(): | |
| """ | |
| Function to display the main menu options | |
| """ | |
| print("\n" + "="*50) | |
| print("TACKLE HIRE SYSTEM - MAIN MENU") | |
| print("="*50) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| equipment_prices = { | |
| "1": {"name": "Day chairs", "price": 15.00}, | |
| "2": {"name": "Bed chairs", "price": 25.00}, | |
| "3": {"name": "Bite Alarm (set of 3)", "price": 20.00}, | |
| "4": {"name": "Bite Alarm (single)", "price": 5.00}, | |
| "5": {"name": "Bait Boat", "price": 60.00}, | |
| "6": {"name": "Camping tent", "price": 20.00}, | |
| "7": {"name": "Sleeping bag", "price": 20.00}, | |
| "8": {"name": "Rods (3lb TC)", "price": 10.00}, | |
| "9": {"name": "Rods (Bait runners)", "price": 5.00}, |
Roger Art Gallery
Last Updated: September 2025
Roger Art Gallery ("we," "our," or "us") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website and make purchases from our online art gallery.
Roger Art Gallery
Last Updated: September 2025
By accessing and using the Roger Art Gallery website and purchasing our artworks, you accept and agree to be bound by the terms and provision of this agreement. These Terms & Conditions govern your use of our website and the purchase of artwork from Roger Art Gallery.
A simple PHP function to generate estimated delivery date ranges for e-commerce applications, with support for business days calculation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function generateDeliveryInterval($minDays = 7, $maxDays = 7, $skipWeekends = true) { | |
| $start = new DateTime(); | |
| // Calculate minimum delivery date (starting tomorrow) | |
| $minDate = clone $start; | |
| $minDate->add(new DateInterval('P1W')); // Start from tomorrow P1Y , P2M PT5H | |
| // Calculate maximum delivery date |