DEV Community

Discussion on: Day 6 of 100DaysOfCode: Python Code to Find Even and Odd Numbers From List

Collapse
 
otumianempire profile image
Michael Otu • Edited

Code looks fun. I am sure you have come across the concept of functions, modules and how to use return. Try using functions and add a unit test for the function. You can have a separate file for testing or keep the code (function) in the same file as the test.

Collapse
 
iamdurga profile image
Durga Pokharel

This is great idea. Will try it. Thanks