Skip to content

Commit ba632de

Browse files
Create List_Filtering.py
1 parent 7357dac commit ba632de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

7 kyu/List_Filtering.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
def filter_list(l):
2+
array = []
3+
for x in range (0, len(l)):
4+
if type(l[x]) == int:
5+
array.append(l[x])
6+
return array

0 commit comments

Comments
 (0)