class Timer:
def __init__(self, seconds):
self.seconds = seconds
def get_time_format(self):
total = self.seconds // 60
hour = total
min = self.seconds - (60 * total)
return hour,min
timer = Timer(200)
print(timer.get_time_format())
To embed this project on your website, copy the following code and paste it into your website's HTML: