This kata requires you to convert minutes (`int`) to hours and minutes in the format `hh:mm` (`string`).

If the input is `0` or negative value, then you should return `"00:00"`

**Hint:** use the modulo operation to solve this challenge. The modulo operation simply returns the remainder after a division. For example the remainder of 5 / 2 is 1, so 5 modulo 2 is 1.


## Example

If the input is `78`, then you should return `"01:18"`, because 78 minutes converts to 1 hour and 18 minutes.


Good luck! :D

Difficulty: introductory

Starter code:

def time_convert(num):
	

Solutions:
def time_convert(num):
    return "{:02d}:{:02d}".format(*divmod(max(num, 0), 60))

def time_convert(num):
    if num <= 0:
        return '00:00'
    return f'{num//60:02}:{num%60:02}'

def time_convert(num):
    a=num//60
    b=num%60
    if num<=0:
        return '00:00'
    elif 0<num<10:
        return '00:0'+str(num)
    elif 10<=num<60:
        return '00:'+str(num)
    else:
        if a<10 and b<10:
            return "0"+str(a)+':'+"0"+str(b)
        elif a>=10 and b<10:
            return str(a)+':'+"0"+str(b)
        elif a<10 and b>=10:
            return "0"+str(a)+':'+str(b)
        elif a>=10 and b>=10:
            return str(a)+':'+str(b)

def time_convert(num):
    return "{:02d}:{:02d}".format(*divmod(max(0, num), 60))

def time_convert(num):
    return '{:02}:{:02}'.format(*divmod(max(0, num), 60))

time_convert=lambda n:'%02d:%02d'%divmod(max(0,n),60)

def time_convert(num):
    if num <= 0:
        return '00:00'
    
    if num < 60:
        if num <= 9:
            num_str = '0' + str(num)
        else:
            num_str = str(num)
        return '00:' + num_str
    
    hour = int(num / 60)
    hour_str = str(hour)
    minute = num - hour * 60
    minute_str = str(minute)

    if hour <= 9:
        hour_str = '0' + hour_str
    if minute <= 9:
        minute_str = '0' + minute_str
    
    return '%s:%s' % (hour_str, minute_str)