Python Code Challenge

147 - Create a class Animal with a method speak that takes in a string argument and prints the string to the console. Create subclasses Cat, Dog, and Horse and override the speak method in each subclass to print the corresponding animal's sound.