learn-co-curriculum / python-p3-data-structures-lab Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
n/a
Rename repo to follow usual naming convention
No response
No response
https://learning.flatironschool.com/courses/6049/assignments/195247?module_item_id=439022
This lab was pretty straightforward. The confusion I encountered was where, in the README, it says:
You could use a loop to solve all of these, but try to expand your toolkit and use some other methods to make the job easier, like get(), append(), and sort()
but on get_spicy_food_by_cuisine
, if you follow this guideline, there's no way to solve this without for
loop, unless you do:
def get_spicy_food_by_cuisine(spicy_foods, cuisine):
return [food for food in spicy_foods if food["cuisine"] == cuisine][0]
which is kinda weird, but then, in the solution here, they just use a for
loop anyway.
There's also no questions that require using get()
, append()
, or sort()
, but I also see that it probably used to be a question given this commented code. Could we update language here to avoid confusion?
No response
Probably just take out this line in the README? Whatever you guys think is best
https://learning.flatironschool.com/courses/6049/assignments/195247?module_item_id=439022
When going through the lab, it was confusing at first as the read-me problems didn't match the order of the problem in the actual code. This led me into getting confused by writing the logic for one that was actually further down the list.
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.