game.py
def count(self, timer):
        """
        Counts the timer down starting from where the user sets the time at
        """
        if self.running:
            if timer > -1:
                mins, secs = divmod(timer, 60)
                self.minutes.set(f"{mins}")
                self.seconds.set(f"{secs}")
                self.timer = timer

            self.after_loop = self.root.after(1000, self.count, timer-1)

        else:
            self.root.after_cancel(self.after_loop)

        Counts the timer down starting from where the user sets the time at
        
Counts the timer down starting from where the user sets the time at
Counts the timer down starting from where the user sets the time at
def count(self, timer):
        if self.running:
            if timer > -1:
                mins, secs = divmod(timer, 60)
                self.minutes.set(f"{mins}")
                self.seconds.set(f"{secs}")
                self.timer = timer
            self.after_loop = self.root.after(1000, self.count, timer-1)
        else:
            self.root.after_cancel(self.after_loop)
def count ( self , timer ) : if self . running : if timer > - 1 : mins , secs = divmod ( timer , 60 ) self . minutes . set ( f"{mins}" ) self . seconds . set ( f"{secs}" ) self . timer = timer self . after_loop = self . root . after ( 1000 , self . count , timer - 1 ) else : self . root . after_cancel ( self . after_loop )
Counts the timer down starting from where the user sets the time at
Counts the timer down starting from where the user sets the time at
"""
        Counts the timer down starting from where the user sets the time at
        """
self
timer