AttributeError: 'NoneType' object has no attribute 'find' PYTHON

from bs4 import BeautifulSoup
import requests
import time

#Get URL

Looped = False

def get_crypto(coin):
    url = '' + coin + '+price'
    HTML = requests.get(url)
    soup = BeautifulSoup(HTML.text, 'html.parser')

    text = soup.find('div', attrs={'class':'dDoNo ikb4Bb gsrt gzfeS'}).find('div', attrs={'class':'dDoNo ikb4Bb gsrt gzfeS'}).text

    return text

crypto_type = input('Enter crypto name: ').lower()
Looped = True

while True:
    while Looped == True:

I just want to get my Bitcoin price Tracker working. I have tried changing the class But nothing seems to work, Please help.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum