7.6.4 Enthusiasm CodeHS Answers
/ 1

7.6.4 Enthusiasm CodeHS Answers
Quizzma Team
The most common answer is:
string = "codehs rocks"
def add_enthusiasm(string):
string = string.upper()
return string + "!"
print(add_enthusiasm(string))
Thiscodedefines a function add_enthusiasm that takes a string, capitalizes it using the .upper() method, appends an
exclamation point, and then returns the modified string. The print statementcallsthis function with "codehs rocks" as
the input.
4/7/26, 5:07 PM
7.6.4 Enthusiasm CodeHS Answers » Quizzma
https://quizzma.com/7-6-4-enthusiasm-codehs-answers/
1/1
Loading document...
/ 1
Upload to Download
Every 3 documents you upload earns 1 download credit.
You have uploaded 0 documents. Upload 3 more to earn a download.
Upload Documents