text_plain_output_1.png
import random

import random
list = []
for i in range(5):
    list.append(random.randint(1, 10))
list.sort()

list = []
for i in range(1, 11, 2):
    list.append(i)
print('Contoh list dengan angka ganjil : \n', list)