DEV Community

Discussion on: Daily Challenge #135 - The Wide Mouthed Frog!

Collapse
 
kesprit profile image
kesprit

Swift :

func mouthSize(animal: String) -> String {
    animal.lowercased() == "aligator" ? "small" : "wide"
}