Question: Write a function exclaim that takes a string and a integer, and produces that string with a number of exclamation marks after it equal to

Write a function exclaim that takes a string and a integer, and produces that string with a number of exclamation marks after it equal to the given integer. You only need to consider cases where the number is 0 or greater (no negative numbers).
For example, exclaim("Hey",4) should produce "Hey!1!1"
 Write a function exclaim that takes a string and a integer,

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!