diff --git a/build.py b/build.py index 7a4c3b9..7185836 100644 --- a/build.py +++ b/build.py @@ -1,2 +1,10 @@ def solution(list_of_nums): - """Enter Code Here""" \ No newline at end of file + even,odd = 0,0 + for i in list_of_nums: + if(i%2 == 0): + even += 1 + else: + odd += 1 + return dict({'ODD':odd,'EVEN':even}) + +print solution([1,2,3,9,5,6]) diff --git a/build.pyc b/build.pyc new file mode 100644 index 0000000..b790c25 Binary files /dev/null and b/build.pyc differ diff --git a/tests/__init__.pyc b/tests/__init__.pyc new file mode 100644 index 0000000..251b5a1 Binary files /dev/null and b/tests/__init__.pyc differ diff --git a/tests/test_solution.pyc b/tests/test_solution.pyc new file mode 100644 index 0000000..310b234 Binary files /dev/null and b/tests/test_solution.pyc differ