+ 1

Code Coach Even Numbers Bug?

I have a nagging feeling that code coach even numbers (Python) has a bug in it. Since I don’t want to post code coach solutions here, would someone knowledgeable get in contact with me via PM? I will post teachable moments here later in order for this post to have value in the forum.

27th Jul 2020, 12:25 PM
Brave Tea
Brave Tea - avatar
3 Respuestas
+ 3
If you think that the question has a bug in it then you can report it to sololearn via info@sololearn.com.
27th Jul 2020, 12:47 PM
Arsenic
Arsenic - avatar
- 1
My take: x = input().split() res = [i for i in x if int(i) % 2 == 0] print(*res)
10th Dec 2021, 7:16 PM
Mateo González Bufi
Mateo González Bufi - avatar
- 2
Here is my code on Even Numbers code coach n=input().split() l=[] s=" " for i in n: l.append(int(i)) for i in l: if (i % 2==0): s=s+str(i)+" " print(s)
29th May 2021, 7:10 PM
𝑷𝒂𝒓𝒅𝒉𝒖_𝑨𝒍𝒂𝒑𝒂𝒕𝒊`
𝑷𝒂𝒓𝒅𝒉𝒖_𝑨𝒍𝒂𝒑𝒂𝒕𝒊` - avatar