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!! :)

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.