I need a python code that collects all even numbers separately, odd numbers separately and displaying into two separate totals. The range of numbers is 1-20
I am new to this language and I keep getting syntax errors, invalid statement errors etc.. So it would be great if you can write a description about the code as well.
Thanks in advance.