7 kyu
List Filtering
123,509 of 301,362cmgerber
Description:
In this kata you will create a function that takes a list of non-negative integers and strings and returns a new list with the strings filtered out.
Example
filter_list([1,2,'a','b']) == [1,2]
filter_list([1,'a','b',0,15]) == [1,0,15]
filter_list([1,2,'aasf','1','123',123]) == [1,2,123]
Lists
Filtering
Data Structures
Fundamentals
Similar Kata:
Stats:
Created | Aug 1, 2014 |
Published | Aug 1, 2014 |
Warriors Trained | 486564 |
Total Skips | 35419 |
Total Code Submissions | 701141 |
Total Times Completed | 301362 |
Python Completions | 123509 |
Ruby Completions | 10168 |
CoffeeScript Completions | 315 |
JavaScript Completions | 142283 |
C# Completions | 15394 |
F# Completions | 164 |
Java Completions | 11650 |
Factor Completions | 27 |
Scala Completions | 260 |
Kotlin Completions | 888 |
Lua Completions | 106 |
TypeScript Completions | 1184 |
Total Stars | 2000 |
% of votes with a positive feedback rating | 90% of 22329 |
Total "Very Satisfied" Votes | 18073 |
Total "Somewhat Satisfied" Votes | 3875 |
Total "Not Satisfied" Votes | 381 |