Python exercise

Repeat Louder

Sign in to hand in your solution and get feedback.

from bakery import assert_equal exclamations = [] def make_exclamations(messages): for message in messages: exclamations.append(message + "!") return exclamations assert_equal(make_exclamations(["Hi", "I'm Ada"]), ["Hi!", "I'm Ada!"]) assert_equal(make_exclamations(["Woah", "Count these"]), ["Woah!", "Count these!"])