<jupyter_start><jupyter_text>Company
https://github.com/gumdropsteve/intro_to_python/blob/main/day_07/02_assignment.md1-lets-build-a-company-class-used-to-represent-some-company-riyadh-tea-co-chick-fil-a-chipotle-etc<jupyter_code>class Company(): 
    """
    This docstring will describe how to interact with the Company class. 

    The company class will have attributes that are standard to a company, 
    and methods that interact with a couple of those attributes. 

    Parameters
    ----------
        name: str
            Holds the company name. 
        industry_type: str
            Holds what industry the company belongs to. 
        num_employees: int
        total_revenue - float
    """

    def __init__(self, name, industry_type, num_employees, total_revenue): 
        self.name = name
        self.industry_type = industry_type
        self.num_employees = num_employees
        self.total_revenue = total_revenue

    def serve_customer(self, cost): 
        """
        Adjusts the company's total_revenue by the cost required 
        to serve a customer. 

        Args: 
            cost: float
        """

        self.total_revenue += cost 

    def gain_employees(self, new_employee_lst): 
        """
        Adjusts the company's num_employees to account for new employees. 

        Args: 
            new_employee_lst: list 
        """
        self.num_employees += len(new_employee_lst)<jupyter_output><empty_output><jupyter_text>TV
https://github.com/gumdropsteve/intro_to_python/blob/main/day_07/02_assignment.md2-lets-build-a-tv-class-used-to-represent-a-television<jupyter_code>class Television():

    def __init__(self, brand, on_status=False,
            current_channel=0, life_perc=100.0):
        self.brand = brand
        self.on_status = on_status
        self.current_channel = current_channel
        self.life_perc = life_perc

    def hit_power(self):
        """
        Switches the television either on or off.
        """
        # This simply switches the self.on_status to the
        # opposite of what it currently is (True to False, and
        # vice versa).
        self.on_status = not self.on_status

        if not self.on_status:
            self.current_channel = 0
            self.life_perc -= 0.01

    def change_channel(self, channel_num):
        """
        Change the channel of the television to the inputted channel.

        Args:
            channel_num: int
        """

        if self.on_status:
            self.current_channel = channel_num
        else:
            print('Television is not on!')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0821256038647343, 'fraction_numerical': 0.007060572277963582, 'mean_word_length': 2.0730593607305936, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '615665', 'license': 'Apache-2.0', 'n_tokens_mistral': 869, 'n_tokens_neox': 773, 'n_words': 186, 'path': 'day_07/03_assignment_solutions.ipynb', 'repo_name': 'ShaimaM/Intro_to_python', 'size': '2691'}