num_list=[ ]
for i in range(1,11): 
    num_list.append(1)
print("Original List:", num_list)
for i, index in enumerate (num_list):
    if(i%2==0):
        del num_list[index]
print("List after deleting even numbers: ",num_list)


Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: