squares_of_evens = [x**2 for x in range(1, 11) if x % 2 == 0]
# [4, 16, 36, 64, 100]
names = ["Анна", "Борис", "Алексей", "Ирина", "Антон"]
names_starwith_A = [name for name in names if name.startswith("А")]
print(names_starwith_A)
# ['Анна', 'Алексей', 'Антон']