Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
DICTIONARY PROBLEM
# Python 3.5.2 restaurants = [{'name': 'Fork & Fig', 'price': '$$', 'is_closed': False, 'review_count': 610}, {'name': 'Salt And Board', 'price': '$$', 'is_closed': False, 'review_count': 11}, {'name': 'Frontier Restaurant', 'price': '$', 'is_closed': False, 'review_count': 1373}, {'name': 'Nexus Brewery', 'price': '$$', 'is_closed': False, 'review_count': 680}, {'name': "Devon's Pop Smoke", 'price': '$$', 'is_closed': False, 'review_count': 54}, {'name': 'Cocina Azul', 'price': '$$', 'is_closed': True, 'review_count': 647}, {'name': 'Philly Steaks', 'price': '$$', 'is_closed': False, 'review_count': 25}, {'name': 'Stripes Biscuit', 'price': '$$', 'is_closed': True, 'review_count': 20}]; city_names = list(map(lambda item: item["name"], restaurants)); print(city_names)
run
|
edit
|
history
|
help
0
Ej2_python_204676887
Binary number into Decimal
Calculator
restraunt score
Bmi calculator dictionary
for project 1
Юра и заселение
Юра и заселение
Va
arjun chinese class