import random
names = ['Damian', 'Ola', 'Barbara', 'Robert', 'Zygmunt', 'Ewa']
names = [name[0] for name in names]
print(
    '--------------------------List Comprehension 1-----------------------------'
    )
print(names)
i = random.randrange(1, 10)
list = [[random.randrange(1, 10) for element in range(4)] for y in range(5)]
print(
    '--------------------------List Comprehension 2-----------------------------'
    )
print(list)

76fe5fd701c741ba5aaa97bae28468145b1cb5d4
<mask token>

<mask token>
print(
    '--------------------------List Comprehension 1-----------------------------'
    )
print(names)
<mask token>
print(
    '--------------------------List Comprehension 2-----------------------------'
    )
print(list)

<mask token>
names = ['Damian', 'Ola', 'Barbara', 'Robert', 'Zygmunt', 'Ewa']
names = [name[0] for name in names]
print(
    '--------------------------List Comprehension 1-----------------------------'
    )
print(names)
i = random.randrange(1, 10)
list = [[random.randrange(1, 10) for element in range(4)] for y in range(5)]
print(
    '--------------------------List Comprehension 2-----------------------------'
    )
print(list)

import random
names = ['Damian', 'Ola', 'Barbara', 'Robert', 'Zygmunt', 'Ewa']
names = [name[0] for name in names]
print(
    '--------------------------List Comprehension 1-----------------------------'
    )
print(names)
i = random.randrange(1, 10)
list = [[random.randrange(1, 10) for element in range(4)] for y in range(5)]
print(
    '--------------------------List Comprehension 2-----------------------------'
    )
print(list)
