import hashlib
import re 

number = 0
input  = 'bgvyzdsv'


while not re.match("0{5}",hashlib.md5((input +str(number)).encode()).hexdigest()):
    number += 1

print ("RESULT 1:", number)

3a64860c23f1c3f5c679cc6a8964e00aedefd3f6
<mask token>

<mask token>
while not re.match('0{5}', hashlib.md5((input + str(number)).encode()).
    hexdigest()):
    number += 1
print('RESULT 1:', number)

<mask token>
number = 0
input = 'bgvyzdsv'
while not re.match('0{5}', hashlib.md5((input + str(number)).encode()).
    hexdigest()):
    number += 1
print('RESULT 1:', number)

import hashlib
import re
number = 0
input = 'bgvyzdsv'
while not re.match('0{5}', hashlib.md5((input + str(number)).encode()).
    hexdigest()):
    number += 1
print('RESULT 1:', number)

import hashlib
import re 

number = 0
input  = 'bgvyzdsv'


while not re.match("0{5}",hashlib.md5((input +str(number)).encode()).hexdigest()):
    number += 1

print ("RESULT 1:", number)
