from random import randint
a = [randint(1,20) for i in range(10)]
for i in a:
if i % 2 == 0:
a.remove(i)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
from random import randint
a = [randint(1,20) for i in range(10)]
for i in a:
if i % 2 == 0:
a.remove(i)