0

Hey guys,

sorry for this, what im sure is simple, but i just cant get it!

i have a dictionary for restaurants.. then i have nested dictionaries holding information like when these restaurants open and close.

Restaurants = {  'Italian'    : {"OpenTime"   : "11:30", "CloseTime"    : "20:30"}, 
                         'Mexican'  : {"OpenTime"  : "12:30", "CloseTime"    : "20:30"}}

i can store the names of a restaurant as a user supplied variable etc.
but that only returns Restaurants[Name]["OpenTime"]
of one of them.

How can i return Italian AND Mexican from this??

Thanks for your help!! :)

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by StepIre
0

Apologies for my own stupidity and impatience on this.. i got it.
Will mark solved

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.