import itertools # maybe a hint :)
mystr = "python is a great language"
mynums = range(0,15)
mydata = {'x': ('a', 'f', 'z'), 'y': (1, 0, 3), 'z': (0, 0, 0)}

# Following, make the assertions true by filling in the value
# variable. The FP way only - zip, filter, map, reduce, lambda, and
# itertools are your friends!

# Remove spaces from mystr
assert(value == 'pythonisagreatlanguage')

# Capitalize every other letter in mystr
# Jason Wang notes you can use a ternary in a list comprehension!
# ["T" if i else "F" for i in [0,1,2,3]] works. HINT!
assert(value == 'pYtHoN Is a gReAt lAnGuAgE')

# make a string from the second item in each tuple in dict mydata in key order
assert(value == 'f00')

# make a list of all the tuples with the key as the first element in key sorted order!
assert(value == ['x', 'a', 'f', 'z', 'y', 1, 0, 3, 'z', 0, 0, 0])

# Sum the square of the numbers between 10 and 14 (exclusive)
assert(value==434)


