Write Function Named Formadverb String Accepts Adjective Forms Adverb Adjective Returns Ad Q37215486

Write a function named formAdverb(string) that accepts anadjective, forms an adverb from the adjective, and returns theadverb.

a. In most cases, an adverb is formed by adding -ly to anadjective. For example, quick → quickly

b. If the adjective ends in -y, replace the y with i and add-ly. For example, easy → easily

c. If the adjective ends in -able, -ible, or -le, replace the -ewith -y. For example, gentle → gently

d. If the adjective ends in -ic, add -ally. For example, basic →basically. In python


Answer


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.