Print even numbers 1 to 50 using python | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
- 1

Print even numbers 1 to 50 using python

8th Sep 2020, 4:51 PM
Sreerag
6 Respuestas
+ 7
This question looks like a homework assignment for you. if we will give you the solution then we will responsible to destroy you. better to show your attempt here once or at least paste whatever you have tried in the description box. This Q&A forum is for specific programming questions or questions related to SoloLearn (platform, usage and so on) https://www.sololearn.com/Discuss/1316935/?ref=app we will surely try our best to help you Please show your attempt here using code playground. https://www.sololearn.com/post/75089/?ref=app
8th Sep 2020, 4:52 PM
Nilesh
+ 2
Ya i got it 👍
8th Sep 2020, 5:01 PM
Sreerag
+ 1
Please do the full code
8th Sep 2020, 4:56 PM
Sreerag
0
👏👍
8th Sep 2020, 5:37 PM
Sreerag
0
print([i for i in range(50) if i%2==0] )
10th Sep 2020, 4:33 PM
Vision
Vision - avatar
8th Sep 2020, 5:32 PM
Iraavan 🔥
Iraavan 🔥 - avatar