<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def type_and_times(type_: str, start: Timestamp, end: Timestamp, probability: Number = None) -> str: """ Format line type and times into the beginning of a spoken line string """

    if not type_:
        return ''
    if type_ == 'BECMG':
        return f"At {start.dt.hour or 'midnight'} zulu becoming"
    ret = f"From {start.dt.hour or 'midnight'} to {end.dt.hour or 'midnight'} zulu,"
    if probability and probability.value:
        ret += f" there's a {probability.value}% chance for"
    if type_ == 'INTER':
        ret += ' intermittent'
    elif type_ == 'TEMPO':
        ret += ' temporary'
    return ret