Computer Science, asked by akshatvashisht6, 5 months ago

WAP to enter all the even numbers between 2 to 50 in a list called evenList. in python​

Answers

Answered by Anonymous
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 gaganadithyareddy9
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
Math, 2 months ago