0
Can anybody explain me why my code doesn't print the result? Instead for loop I use while loop.
2 Answers
0
Do not see any print function to print result
0
I do not see a list. You can create and populate an array with the required numbers and then iterate through them to check for 0's odds and evens.
You must do something like this.
https://code.sololearn.com/c5lGTBR1S8x7/?ref=app