Question: Create a python script In this project, code in your script all the rules of generating a noun in its plural form given this noun

 Create a python script In this project, code in your scriptCreate a python script

In this project, code in your script all the rules of generating a noun in its plural form given this noun in its singular form. Tha table with the rules is presented below. For the irregular nouns and nouns that do not require any changes, incorporate into your script all the cases listed in the table. Your script should primpt the user to input a noun in its singular form for as many nouns as the user wants. Count the number of the created nouns and output the count Regular Nouns add-S Ends in S, CH, SH, X orZ Ends in For FE add-ES add-VES 1 car 1 dog 1 book 1 house 1 apple 2 cars 2dogs 2 books 2 houses 2 apples 2 leaves 2 wolves 2 lives 2 kniver 1 leaf 1 wolf 1 bus 2 buses 1 match 2 matches 1 dish2 dishes 1 box 2 bones l quiz2 quizzes 1 knife Irregular Nouns 1 man 2 men 1 child 2children 1 foot 2 feet 1 tooth 2 teeth 1 mouse 2 mice 1 person Ends in VOWEL Y Ends in CONSONANT+Y add -S 1 day 1 key 1 boy 1 guy 1 donkey m add-IES 1 oty 2 cities 1 baby 2 bables 1 story 2 stories 1 party 2 parties 1 country 2 days 2 keys 2 boys 2 guys 2 donkeys 2 countries 2 people No Change Ends in VOWEL+O add-S Ends in CONSONANT+0 add-ES 1 sheep 1 deer 1 hero 2 heroes 1 echo 2 echoes 1 tomato 2 tomatoes 1 fish 2 fish 1 potato 2 potatoes series 2 series 1 200 2z00s 1 radio 2 radios 2 sheep 2 deer 1 stereo 2 stereos 1 video 2 videos 1 kangaroo 2 kangaroos cepon pono-n 1 species 2 species Word in singular cat cat in plural is cats Another word (yes no) yes Word in singular: wish wish in plural is wishes Another word (yes/ no) yes Word in singular play play in plural is plays Another word (yes no)? yes Word in singular: toy toy in plural is toys Another word (yes/ no)? yes Word in singular variety variety in plural is varieties Another word (yes / no) ? yes Word in singular: kilo kilo in plural is kiloes Another word (yes no) no The program created plural forms for 6 nouns 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!