Home / Expert Answers / Computer Science / in-python-q6-1-below-is-a-dictionary-for-some-english-irregular-plural-nouns-please-write-a-pyth-pa227

(Solved): In Python Q6.1: Below is a dictionary for some English irregular plural nouns. Please write a Pyth ...



Q6.1: Below is a dictionary for some English irregular plural nouns. Please write a Python script that creates this desired o

In Python

Q6.1: Below is a dictionary for some English irregular plural nouns. Please write a Python script that creates this desired output. one mouse two mice one child two children one goose two geese one tooth two teeth plural \( =\{ \) 'mouse": "mice", "child": "children", "goose": geese", "tooth": teeth" \( \} \) Q6.2: Write a Python script to count the number of times the phrase "it was" (case insensitive) occurs in the opening paragraph of Charles Dicken's classic, "A Tale of Two Cities". myString = "It was the best of times, it was the worst of times, it was the age of wisdom, it was the age of foolishness, it was the epoch of belief, it was the epoch of incredulity, it was the season of Light, it was the season of Darkness, it was the spring of hope, it was the winter of despair, we had everything before us, we had nothing before us, we were all going direct to heaven, we were all going direct the other way - in short, the period was so far like the present period, that some of its noisiest authorities insisted on its being received, for good or for evil, in the superlative degree of comparison only."


We have an Answer from Expert

View Expert Answer

Expert Answer


Answer Programs: Program 1: Python Program With Explanation: # Created a dictionary plural by given key-value pairs plural={'mouse':"mice",'child':'children','goose':'geese','tooth':'teeth'} # for loop to iterate dictionary plural for name in plural:
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe