mikaoj / EmojiFizzBuzz

Swift Fizz Buzz in Emojis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmojiFizzBuzz - just for fun

Fizz buzz in Swift with emojis

func πŸ’€πŸ(πŸ…°: πŸ”’) -> πŸ“ {
    switch (πŸ…° % πŸ‘ͺ == πŸ’©, πŸ…° % πŸ‘‹ == πŸ’©) {
    case (πŸ‘, πŸ‘Ž):
        return πŸ’€
    case (πŸ‘Ž, πŸ‘):
        return 🐝
    case (πŸ‘, πŸ‘):
        return πŸ’€+🐝
    default:
        return πŸ“(πŸ…°)
    }
}

About

Swift Fizz Buzz in Emojis

License:MIT License


Languages

Language:Swift 100.0%