Answer:
from collections import Counter
def anagram(dictionary, query):
newList =[]
for element in dictionary:
for item in query:
word = 0
count = 0
for i in [x for x in item]:
if i in element:
count += 1
if count == len(item):
newList.append(item)
ans = list()
for point in Counter(newList).items():
ans.append(point)
print(ans)
mylist = ['jack', 'run', 'contain', 'reserve','hack','mack', 'cantoneese', 'nurse']
setter = ['ack', 'nur', 'can', 'con', 'reeve', 'serve']
anagram(mylist, setter)
Explanation:
The Counter class is used to create a dictionary that counts the number of anagrams in the created list 'newList' and then the counter is looped through to append the items (tuple of key and value pairs) to the 'ans' list which is printed as output.
Answer:
It helps you understand stuff faster
Explanation:
Answer:
The kind of software to use is a protocol analyser.
Explanation:
The Protocol analyser, which could either be a hardware or a software is a tool that is used for capturing and analysing signals and also interpreting network traffic over a communication channel or between two or more connected computer systems
Protocol analysers can be used to find out location of problems on Local Area Network by examining flow of traffic.
Answer:
I'd choose A, all of the above.
Reasoning Why:
I'll be taking you on a step to step process on why I inputted the answer.
The <div>, is basically like a container that you can group tougher, why this is great is because you can edit the div using a background-color effecting that group such as the following..
EXAMPLE OF BACKGROUND-COLOR DIV (background-color)
<!DOCTYPE html>
<html>
<head>
<title>Brainly Example | HTML Div</title>
<style>
#byexample{
background-color:red;
/*Example of the Background-color attrib*/
/*You can also use the background-image attrib, however I recommend you checkout W3Schools, on that topic.*/
}
</style>
</head>
<body>
<div id="byexample">
<p>Just some random text to demonstrate.</p>
</div>
</body>
</html>
END OF EXAMPLE
You can also, in the <div> change multiple styles of an element in the div. However, if do want to change the styles of a single element you would need to nest it.
<!DOCTYPE html>
<html>
<head>
<title>Brainly Example | HTML Div</title>
<style>
#byexample #text{
background-color:red;
color:yellow;
}
</style>
</head>
<body>
<div id="byexample">
<p id="text">Just some random text to demonstrate.</p>
</div>
</body>
END OF EXAMPLE
Lastly, you can group elements using divs, as stated in openclassroom (website).
Anyways, I hope this helped!
Happy coding!