Question: Python 3.6 Requriements Submit only the files requested Print all floats to 2 decimal points unless stated otherwise Restrictions No global variables may be used
Python 3.6
Requriements
Submit only the files requested
Print all floats to 2 decimal points unless stated otherwise
Restrictions
No global variables may be used
Your program must have at least 1 user defined function
Description
Convert nouns into their plural form.
Rules for converting a noun to its pural form
| Ends with | Pural Form |
| ch, sh, s, x, or z | add es |
| vowel and y | add s |
| a consonant and y | y becomes ies |
| f or fe | becomes ves |
| All others | add s |
Assumptions
Input will always be valid
Examples
In the examples below user input has been underlined. You don't have to do any underlining in your program. It is just there to help you differentiate between what is input and what is output.
Example 1
Please enter a word: boy The plural form of boy is boys.
Example 2
Please enter a word: loaf The plural form of loaf is loaves.
Example 3
Please enter a word: moose The plural form of moose is mooses.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
