0
I need some help in completing the code! How to get single output? This was a problem from code coach.
Code purpose : Take multiple number as input the first input numerical being the number of input. Taking all the numbers you have to eliminate the oddnumbers and add all the even. So I almost completed it but the program returns multiple values of every steps of the increment. And I want to print only the final value. This problem maybe is relatively simple but as a beginner it is frustrating. Thank you. I will be waiting for an answer.đ. https://code.sololearn.com/cedNutnAF2ML/?ref=app https://code.sololearn.com/cedNutnAF2ML/?ref=app
3 Answers
+ 3
sakif hossain your code's logic is correct. But correct these mistakes:
1. Don't indent the "print".
2. Remove '= ' mark from "t<=x"
+ 2
Both of them are correct
Thanks To đđ˘đ˘đđ¨ đđĄđđ˛đđĽ and Valmob101 I really deeply appreciate both of your help.