Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enter your code here#!/usr/bin/env python3
- class Clock:
- def __init__(self, hours, minutes):
- self.minutes = minutes % 60
- self.hours = (hours + (minutes // 60)) % 24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement