def get_coin(symbol):
    '\n    :param symbol: str\n        Symbol of coin\n    :return: CryptoCoin\n        Coin if a crypto-coin exists with that name\n    '
    candidate = CryptoCoin(symbol, symbol)
    for coin in CRYPTO_COINS:
        if (coin.symbol == candidate):
            return coin
:param symbol: str
    Symbol of coin
:return: CryptoCoin
    Coin if a crypto-coin exists with that name
def get_coin(symbol):
    '\n    :param symbol: str\n        Symbol of coin\n    :return: CryptoCoin\n        Coin if a crypto-coin exists with that name\n    '
    candidate = CryptoCoin(symbol, symbol)
    for coin in CRYPTO_COINS:
        if (coin.symbol == candidate):
            return coin