Question 2
L = [\'a\',\'b\',\'c\',\'d\']
print(\"\".join(L))
Question 4
y = 8
z = lambda x : x * y
print (z(6))
Question 7
import re
sentence = \'horses are fast\'
regex = re.compile(\'(?P<animal>\\w+) (?P<verb>\\w+) (?P<adjective>\\w+)\')
matched = re.search(regex, sentence)
print(matched.groupdict())
Question 10
There are 10 questions to complete.