Answer:
Users of the application may have the ability to determine information about the locations of users that are not on their contact list.
Answer:
def filter_strings(data_list):
string_list = []
for s in data_list:
if type(s) == str and len(s) > 5:
string_list.append(s)
return string_list
Explanation:
Create a function called filter_strings that takes data_list as a parameter
Initialize a new list to hold the strings that are longer than 5 characters
Initialize a for loop that iterates through the data_list
Check the elements if they are string - use type function, and if their length is greater than 5 - use len function. If an element satisfies the both conditions, put it to the string_list
When the loop is done, return the string_list
l think is the right answer is (a)
total = 0
numerator = 1
denominator = 1
while denominator != 20:
total += numerator/denominator
denominator+=1
print(total)
I wrote my code in python 3.8. I hope this helps.