def timezone(utcoffset):
hours, seconds = divmod(abs(utcoffset), <NUM_LIT>)<EOL>minutes = round(float(seconds) / <NUM_LIT>)<EOL>if utcoffset >= <NUM_LIT:0>:<EOL><INDENT>sign = '<STR_LIT:+>'<EOL><DEDENT>else:<EOL><INDENT>sign = '<STR_LIT:->'<EOL><DEDENT>return '<STR_LIT>'.format(sign, int(hours), int(minutes))<EOL>
Return a string representing the timezone offset.
Remaining seconds are rounded to the nearest minute.

>>> timezone(3600)
'+01:00'
>>> timezone(5400)
'+01:30'
>>> timezone(-28800)
'-08:00'