Question: Write a Python code to implement the following: Input a 5-character word from the list below Adult Agent Anger Apple Award Basis Beach If the
Write a Python code to implement the following:
Input a 5-character word from the list below
- Adult
- Agent
- Anger
- Apple
- Award
- Basis
- Beach
If the last character in a 5-character string s is y, then
- change the y to i
- add es
- assign the result to a variable plural. Otherwise, just add s and assign the result to a variable plural
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
