Answer:
- def Lambda(strList):
- return list(filter(lambda s: (s.startswith("e")), strList))
-
- print(Lambda(["meaning", "cart", "engine", "egg"]))
Explanation:
The solution code is written in Python 3.
Lambda function is an anonymous function. It is a function without any name and it is started with keyword lambda. To write a lambda function to filter the string started with an 'e', we can write a lambda expression, s.startswith("e") that work on one input strList. If any word from strList started with letter "e", the word will be added into a list generated by filter function. At the end, the Lambda function will return the list of strings as output.
When we test the Lambda function using the sample string list (Line 4), we shall get ['engine', 'egg'] printed to terminal.
If it's MS Word (it probably is), then it's Alt + F7
The points a b c and d lie on a straight line ab:bd = 1:4 are A line that extends to infinity on both sides and has no curves is called a straight line.AB:BC=3:4.
<h3>What do you call a straight line? </h3>
A line is simply an object in geometry denoted as an object with no width that extends on both sides. A straight line is just a line with no curves.
- AC=AB+BC=3+4=7; AC:CD=2:1, i.e. AC=2; because we get 2 different lengths for AC, we change the given ratio AC:CD to an equivalent one with AC=7 .
- As follows: AC:CD = 2 : 1 = 7 : 3.5 (multiply both sides by 3.5 ) Now we have AC:CD = 7 : 3.5 and AD = AC+CD= 7+3.5 = 10.5,, and the answer is: the ratio BC:AD = 4:10.5.
Read more about the straight line:
brainly.com/question/3493733
#SPJ1