I have a list in this format:
L = [445, 650, 920, 1130, 1340]
results would be:
['4:45', '6:50', '9:20', '13:40']
I have tried this:
length = len(L)
L1 = str(L)
for i in range(length):
tm = datetime.strptime(L1[i], '%H%M').time()
print(tm)