Answer:
Society is run with the everyday changing and evolving roles of men and women. Taking instances from the past, it can be very well said that the society has seen an evolution in the changing roles of men and women.
In ancient times, men were dominant. Men were only meant to earn and provide for their family and women were only meant to cook, clean their house and raise the kids and looking after their domestic animals. But with the advancement of time, women began to grow in the industry and business field. Slowly and gradually taking baby steps, women have managed to climb a mountain facing each and every hurdle of stereotypes and rituals to prove their worth. Now it can be very well said that women are no less than men and have proper significance in growth of society ethically and economically as well.
L+L+W+W= Permiter
Or Lenght+Lenght+Width+Width= Perimeter
That’s all just add all the 4 sides
I'm totally not sure but I think sec midterm flashcards
Answer:
def wordLineCount(file):
dic = {}
with open(file,'r') as file:
text = file.read()
text = text.strip().split()
for word in text:
if word in dic:
dic[word] += 1
else:
dic[word] = 1
return dic
print(wordLineCount('ben.txt'))
Explanation:
The programming language used is python.
The program starts by defining the function, an empty dictionary is created to hold the words and the number of times that they occur. the with key word is used to open the file, this allows the file to close automatically as soon as the operation on it is finished.
The data in the file is read to a variable text, it is striped from all punctuation and converted to a list of words.
A FOR loop and an if statement is used to iterate through every word in the list and checking if they are already in the dictionary. if the word is already contained in the dictionary, the number of occurrences increases by one. otherwise, it is added to the dictionary.
check the attachment to see code in action.