Initial commit to repo.

This commit is contained in:
Olivia Brooks
2025-06-16 07:32:32 -04:00
commit 73faa75086
5 changed files with 295 additions and 0 deletions

40
main.py Normal file
View File

@@ -0,0 +1,40 @@
from dataclasses import dataclass
from sys import float_info
from typing import TypeAlias;
@dataclass
class DatasetCalculator:
data_set: list[float]
def first_quartile(self) -> float:
self.lower_data_set()
def second_quartile(self) -> float:
...
def third_quartile(self) -> float:
...
def interquartile_range(self) -> float:
...
def semi_interquartile_range(self) -> float:
...
def strip_outliers(self) -> DatasetCalculator:
...
def lower_data_set(self) -> DatasetCalculator:
...
def upper_data_set(self) -> DatasetCalculator:
...
def median(self) -> float:
...
def main():
...
if __name__ == '__main__':
main()