Computers and Technology, 06.12.2021 04:40 1846252
8.3.7: Exclamat!on Po!nts
Write the function exclamation that takes a string and then returns the same string with every lowercase i replaced with an exclamation point. Your function should:
Convert the initial string to a list
Use a for loop to go through your list element by element
Whenever you see a lowercase i, replace it with an exclamation point in the list
Return the stringified version of the list when your for loop is finished
Here’s what an example run of your program might look like:
exclamation("I like music.")
# => I l!ke mus!c.
Answers: 1
Computers and Technology, 22.06.2019 23:30
What does 21 pilots middle aged name as a band 15 years prior to them naming their band 21 pilots?
Answers: 1
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
Computers and Technology, 24.06.2019 00:40
To maintain clarity and focus lighting might be needed
Answers: 2
8.3.7: Exclamat!on Po!nts
Write the function exclamation that takes a string and then returns the...
Mathematics, 05.09.2021 18:10
Physics, 05.09.2021 18:10
Mathematics, 05.09.2021 18:10
Mathematics, 05.09.2021 18:10
Chemistry, 05.09.2021 18:10
Mathematics, 05.09.2021 18:10
World Languages, 05.09.2021 18:10
Mathematics, 05.09.2021 18:10
Mathematics, 05.09.2021 18:10
Physics, 05.09.2021 18:10
Social Studies, 05.09.2021 18:10
Physics, 05.09.2021 18:10
Mathematics, 05.09.2021 18:20
Mathematics, 05.09.2021 18:20
Biology, 05.09.2021 18:20
Chemistry, 05.09.2021 18:20