import random
qlist = []
length = int(input('Enter length for your list: '))
for i in range(length):
qlist.append(random.randint(0, 100))
for n, i in enumerate(qlist):
qlist[n] = i * 3
for i in qlist:
if i % 2:
print(i)
import random
length = int(input('Enter length for your list: '))
randoms = [random.randint(0, 100) for i in range(length)]
multiplied = [i * 3 for i in randoms]
print([i for i in multiplied if i % 2])