Skip to content

Filter map exercises#3

Open
Markello93 wants to merge 4 commits intomainfrom
filter_map_exercises
Open

Filter map exercises#3
Markello93 wants to merge 4 commits intomainfrom
filter_map_exercises

Conversation

@Markello93
Copy link
Copy Markdown
Owner

No description provided.

filtered_list = []
for items in input_array:
result = func(items)
if result[0]:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result[0] result[1] очень ненаглядно, лучше их поименовать flag, value = func(...)

pass

filtered_list = []
for items in input_array:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

item не items, сильно сбивает с толку о том, что храниться в переменной

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants