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

8th Jun 2020, 5:52 AM
sakif hossain
sakif hossain - avatar
3 Respuestas
+ 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"
8th Jun 2020, 6:36 AM
Valmob101
Valmob101 - avatar
+ 2
Both of them are correct Thanks To 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥 and Valmob101 I really deeply appreciate both of your help.
10th Jun 2020, 9:08 AM
sakif hossain
sakif hossain - avatar