Im pretty new at programming and right now I'm working with Zoo in python, a programme where the user can put in a time interval by choice during the opening hours of the zoo. The Zoo is open from 07-23, and for example the bear is available from 08-18 to look at.
for example.
What time do you wish to visit the Zoo?
input by user: 10-13

At this time you can see the animals:
...
...

And the programme will write out exactly what animals are available for show at that time interval. Given our example, the bear will be available and be printed out. 

Im wondering how I can easy make the programme translate the input by the user to a string or maybe with range, so I dont have to create a hundred different varibles like 06-06, 06-07, 06-08, 06-09 etc.
Any ideas?
Thanks!