7 kyu
List Filtering
123,385 of 301,140cmgerber
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 | 486246 |
Total Skips | 35386 |
Total Code Submissions | 700739 |
Total Times Completed | 301140 |
Python Completions | 123385 |
Ruby Completions | 10166 |
CoffeeScript Completions | 315 |
JavaScript Completions | 142210 |
C# Completions | 15390 |
F# Completions | 164 |
Java Completions | 11638 |
Factor Completions | 27 |
Scala Completions | 260 |
Kotlin Completions | 888 |
Lua Completions | 105 |
TypeScript Completions | 1174 |
Total Stars | 2000 |
% of votes with a positive feedback rating | 90% of 22317 |
Total "Very Satisfied" Votes | 18064 |
Total "Somewhat Satisfied" Votes | 3872 |
Total "Not Satisfied" Votes | 381 |