def change(my_phrase): my_phrase=my_phrase+"!" return my_phrase phrase = "Hello" print(phrase) C=change(phrase) print(phrase) print(C)
--- The function changes the phrase by adding a discord to the phrase and return the new phrase. Then we print the phrase and the new phrase.