Changes

Jump to: navigation, search

Rchan sandbox

12 bytes removed, 23:58, 2 November 2019
Part 1 - Simple Object Class with external functions
def valid_time(t):
"""check for the validity of the time object attributes:
24 > hour > 0 , 60 > minute > 0 , 60 > second > 0 """
if t.hour < 0 or t.minute < 0 or t.second < 0:
return False
1,760
edits

Navigation menu