Answer:
The solution code is written in Python 3:
- def listBuilder(l1, length):
- result = []
-
- for x in l1:
- if(len(x) >= length):
- result.append(x)
-
- return result
Explanation:
Firstly, we create a variable result to hold the list will be returned at the end of the function. (Line 1)
Next, we create a for-loop to traverse the string in the l1 list (Line 4) and check for each string if their length is equal or bigger than the input length (Line 5). If so, we use append method to add the string to the result list.
At the end, return the result list as output (Line 8).
Answer:Technology And Society – Impact of Technology On Society. ... However, technology has also caused us concerns. Its poor application has resulted in the pollution of the environment and it has also caused a serious threat to our lives and society. This calls for the proper use of technology.
Explanation:
Answer:
H=(A*D)-(B*(D-1))
H = A*D- B*D+B
H-B = (A-B)*D
D= (H-B)/(A-B)
Python 3 code
import math
H=int(input('Enter Height: '))
up=int(input('Enter Number of Feet Up: '))
down=int(input('Enter Number of Feet Down: '))
D=(H-down)/(up-down)
print(math.ceil(D),' Days'
Explanation:
The output of the Program is given in the attached file.