Python-oefening

Calling Inside

Meld je aan om je oplossing in te dienen en feedback te krijgen.

def improve_message(a_string: str) -> str: return a_string.replace('dog', 'doggo') def combine_messages(first: str, second: str, third: str) -> str: return first + '\n' + second + '\n' + third first = 'That dog is cute.' second = "I want to pet the dog." third = "I will ask the dog's owner."