1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Katen [24]
3 years ago
15

8.3.7: Exclamat!on Po!nts

Computers and Technology
1 answer:
Masteriza [31]3 years ago
5 0

The function is an illustration of loops.

Loop instructions are used to repeat operations

The function in Python, where comments are used to explain each line is as follows:

#This defines the function

def exclamation(myStr):

   #This iterates through the string

   for i in range(len(myStr)):

       #This checks if the current character of the string is "i"

       if myStr[i] == "i":

           #If yes, this converts the string to a list

           s = list(myStr)

           #This replaces i with !

           s[i] = '!'

           #This gets the updated string

           myStr = "".join(s)

   #This returns the new string

   return myStr

       

Read more about similar programs at:

brainly.com/question/22444309

You might be interested in
________ are devices used to send data between two networks.
svetoff [14.1K]
The answer is routers
4 0
3 years ago
What are the paparazzi?
Roman55 [17]

Answer:

d.photographers who follow stars to take pictures

8 0
3 years ago
GUYS THERE IS A HACKER IN BRAINLY PLEASE DONT PRESS ON THE WEBSITE THEY WILL HACK YOU.
Rudiy27

Answer:

okayyyyyyyyyyyyyyyyy

6 0
3 years ago
Read 2 more answers
What is the most commen code used in games?
melamori03 [73]
Uw12e72jeu3j3gd72hd21heys1738he73ue73jdba
3 0
3 years ago
Which of the following is an open-source web browser?
rosijanka [135]
That answer would be internet explorer
8 0
4 years ago
Read 2 more answers
Other questions:
  • 9. The best way to insert an existing Excel chart into a document is to A. use the Object command. B. click the Insert tab and c
    6·2 answers
  • Forms are used to a provide a more user-friendly way to work with data in tables
    14·1 answer
  • Match each scenario to the absolute value expression that describes it. 1. the distance moved when going backwards five spaces i
    13·2 answers
  • Which of the following is true about scalability?
    9·1 answer
  • Do you have to make a account of Windows 10?
    12·1 answer
  • What is the best platform for a online meeting?
    10·2 answers
  • The difrent between valid deductive argument and strong inductive argument? At least 2 example​
    6·1 answer
  • Which of the following variable names follows the rules for naming variables?
    13·1 answer
  • I re-made the human version of Daddy Dearest from Friday Night Funkin
    14·2 answers
  • Which of the following techniques is a direct benefit of using Design Patterns? Please choose all that apply Design patterns hel
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!