0

Can anybody explain me why my code doesn't print the result? Instead for loop I use while loop.

https://code.sololearn.com/ccv2nCxN9pxL/?ref=app

13th Oct 2020, 5:55 PM
TeaserCode
2 Respostas
0
Do not see any print function to print result
13th Oct 2020, 6:00 PM
Alex Vernee
Alex Vernee - avatar
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
13th Oct 2020, 6:17 PM
Avinesh
Avinesh - avatar