"pythonic way to validate time input (only for hr, min, sec)","values = (int(i) for i in values.split(','))"