Generate a Python list of all the even numbers between 4 to 30 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Generate a Python list of all the even numbers between 4 to 30

Can anyone send this ansswer by python using jupyter notebook

30th Apr 2021, 5:52 AM
Abuzar Khan
Abuzar Khan - avatar
6 Answers
+ 2
Abuzar Khan You know jupyter notebook but don't know how to write code?
30th Apr 2021, 6:21 AM
A͢J
A͢J - avatar
0
Attempt
30th Apr 2021, 5:57 AM
Ananiya Jemberu
Ananiya Jemberu - avatar
0
I am a newcomer
30th Apr 2021, 6:24 AM
Abuzar Khan
Abuzar Khan - avatar
0
Abuzar Khan But atleast you should try first instead of asking for code.
30th Apr 2021, 6:37 AM
A͢J
A͢J - avatar
0
How to try can you explain
30th Apr 2021, 6:39 AM
Abuzar Khan
Abuzar Khan - avatar
0
You can take forloop from range 4 to 30 ,then check the condition I.e if the numbers are divisible by 2 then they said to be even and print them
30th Apr 2021, 4:38 PM
Durga Devi
Durga Devi - avatar