We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4df81c5 commit c215e93Copy full SHA for c215e93
189/control_flow.py
@@ -18,7 +18,7 @@ def filter_names(names):
18
continue
19
filtered_list.append(name)
20
21
- return filtered_list.__str__()
+ return filtered_list[0:5]
22
23
24
print(filter_names(['t1im', 'amber', 'ana', 'c1ndy', 'sara', 'molly', 'henry']))
0 commit comments