import hashlib

def runMD5(stri, count):
    if(count < 50):
        count += 1
        result = hashlib.md5(stri.encode())
        bor = result.hexdigest()
        k = bor[:len(bor)-15]
        print(count)
        return runMD5(k, count)
    else:
        return stri
fin = runMD5("hello", 1)
print(fin)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: