import string
string.punctuation is: !"#$%&'()*+,-./:;<=>?@[]^_`{|}~
punct = string.punctuation + ' '
vowels = 'aeiou'
phrase = 'Strictly speaking Python strings are categorized as immutable sequences'
first_letter = [w[0] for w in phrase.split()]
first_letter
['S', 's', 'P', 's', 'a', 'c', 'a', 'i', 's']
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
output = [x**2 for x in numbers if x%2 == 0]
output
[0, 4, 16, 36, 64, 100]