<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Lambda Function and More
<u>Problem 1</u>
Step1:  Use list comprehension and lambda/map function to define <b>stuff</b>.
Step2:  <u>Problem 2</u>
Use the filter function to remove all the vowels from the sentence
Step3:  <u>Problem 3</u>
Use the reduce function to find the produc of all the entries in the list
[47,11,42,102,13]
<ASSISTANT_TASK:>
Python Code:
words = 'The quick brown fox jumps over the lazy dog'.split()
print words
stuff = []
for w in words:
    stuff.append([w.upper(), w.lower(), len(w)])
for i in stuff:
    print i
Explanation: Lambda Function and More
<u>Problem 1</u>
End of explanation
stuff = map(lambda w: [w.upper(), w.lower(), len(w)],words)
for i in stuff: print i
Explanation: Use list comprehension and lambda/map function to define <b>stuff</b>.
End of explanation
sentence = "It's a myth that there are no words in English without vowels."
vowels = 'aeiou' 
result = filter(lambda x: x not in vowels, sentence)
print result
Explanation: <u>Problem 2</u>
Use the filter function to remove all the vowels from the sentence
End of explanation
print reduce(lambda x,y: x*y, [47,11,42,102,13])
# note that you can improve the speed of the calculation using built-in functions
# or better still: using the numpy module
from operator import mul
import numpy as np
a = range(1, 101)
print "\nreduce(lambda x, y: x * y, a)"
%timeit reduce(lambda x, y: x * y, a)   # (1)
print "\nreduce(mul, a)"
%timeit reduce(mul, a)                  # (2)
print "\nnp.prod(a)"
a = np.array(a)
%timeit np.prod(a)                      # (3)
Explanation: <u>Problem 3</u>
Use the reduce function to find the produc of all the entries in the list
[47,11,42,102,13]
End of explanation
<END_TASK>