WAP to enter all the even numbers between 2 to 50 in a list called evenList. in python
Answers
Answered by
1
Answer:
hi...
Explanation:
evenlist=[ ]
for i in range(2,51):
if i%2==0:
evenlist.append(i)
print(evenlist)
hope it helps you ☺️
Answered by
0
Answer:
Hey this is in python...
evenList = [ ]
for i in range(1, 50):
if i%2 == 0:
evenList.append(i)
print(evenList)
# Hope this helps!!
Similar questions