from observer import Observer
from number_generator import NumberGenerator
from time import sleep


class DigitObserver(Observer):
    def __init__(self) -> None:
        super().__init__()

    def update(self, generator: NumberGenerator) -> None:
        print(f"DigitObserver: {generator.get_number()}")
        sleep(1)
b5bb93f3f9c63cefcee85530f8d25b576e317fe3
<mask token>


class DigitObserver(Observer):
    <mask token>
    <mask token>

<mask token>


class DigitObserver(Observer):
    <mask token>

    def update(self, generator: NumberGenerator) ->None:
        print(f'DigitObserver: {generator.get_number()}')
        sleep(1)

<mask token>


class DigitObserver(Observer):

    def __init__(self) ->None:
        super().__init__()

    def update(self, generator: NumberGenerator) ->None:
        print(f'DigitObserver: {generator.get_number()}')
        sleep(1)

from observer import Observer
from number_generator import NumberGenerator
from time import sleep


class DigitObserver(Observer):

    def __init__(self) ->None:
        super().__init__()

    def update(self, generator: NumberGenerator) ->None:
        print(f'DigitObserver: {generator.get_number()}')
        sleep(1)

from observer import Observer
from number_generator import NumberGenerator
from time import sleep


class DigitObserver(Observer):
    def __init__(self) -> None:
        super().__init__()

    def update(self, generator: NumberGenerator) -> None:
        print(f"DigitObserver: {generator.get_number()}")
        sleep(1)