Learn
Code Challenge: String Methods
Add Exclamation

add_exclamation()

Instructions

1.

Create a function named add_exclamation that has one parameter named word. This function should add exclamation points to the end of word until word is 20 characters long. If word is already at least 20 characters long, just return word.

Folder Icon

Sign up to start coding

Already have an account?