Question: Create a Python function plural that returns the plural of a word given the following rules: If the word ends with s or h,add es
Create a Python function plural that returns the plural of a word given the following rules: If the word ends with s or h,add es to the end. If the word ends with a y.change it to ies Otherwise, just add an s to the end of the word. You may assume that the last letter of the word is lowercase. In 11 def pluralize(w) # Your code here In : pluralizel'Fish)Fishes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
