from datetime import datetime


class Timer:

    def __init__(self):
        self.start_time = datetime.now()

    def lap(self):
        now = datetime.now()
        duration = now - self.start_time
        return duration.total_seconds()

    def reset(self):
        self.start_time = datetime.now()

0da0317bbfc86cb0560b262787d7ed504df17069
<mask token>


class Timer:
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Timer:

    def __init__(self):
        self.start_time = datetime.now()
    <mask token>

    def reset(self):
        self.start_time = datetime.now()

<mask token>


class Timer:

    def __init__(self):
        self.start_time = datetime.now()

    def lap(self):
        now = datetime.now()
        duration = now - self.start_time
        return duration.total_seconds()

    def reset(self):
        self.start_time = datetime.now()

from datetime import datetime


class Timer:

    def __init__(self):
        self.start_time = datetime.now()

    def lap(self):
        now = datetime.now()
        duration = now - self.start_time
        return duration.total_seconds()

    def reset(self):
        self.start_time = datetime.now()
