I have a list with these elements:
hours = ['19:30', '20:10', '20:30', '21:00', '22:00']
Assuming now it's 20:18, how can I get the "20: 10" item from the list? I want to use this to find the current show in the television guide.
python arrays time
ov1d1u
source share