Code Monkey home page Code Monkey logo

python-p3-data-structures-lab's Issues

Rename repo

Canvas Link

n/a

Concern

Rename repo to follow usual naming convention

Additional Context

No response

Suggested Changes

No response

Description confusing?

Canvas Link

https://learning.flatironschool.com/courses/6049/assignments/195247?module_item_id=439022

Concern

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?

Additional Context

No response

Suggested Changes

Probably just take out this line in the README? Whatever you guys think is best

Questions

Link to Canvas

Issue Subtype

  • Master branch code
  • Solution branch code
  • Code tests
  • Layout/rendering issue
  • Instructions unclear
  • Other (explain below)

Describe the Issue

Source


Concern

(Optional) Proposed Solution

What OS Are You Using?

  • OS X
  • Windows
  • WSL
  • Linux
  • IllumiDesk

Any Additional Context?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.