Skip to content

Task mismatch between code and Task Description Loops / List Comprehension #170

Closed
@edutools-service

Description

@edutools-service

The string printed in the initial version of the code says 'Use list comprehension to build the same list as above' which would mean starting with the list starting_numbers and creating a list that matches my_inefficient_list using list comprehension. The Task Description actually says to further change the list built previously, my_inefficient_list, by adding 10 to each of its elements, therefore starting with the elements of my_inefficient_list, instead of starting_numbers. The check matches the second case. It's not a big deal, I just ran it both ways and saw which one passed, but could be confusing to some people.
No error message, this is just a consistency issue and the lesson would be cleaner if fixed.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions